@@ -1,15 +1,15 @@
|
||||
--- a/net/minecraft/world/entity/SaddleStorage.java
|
||||
+++ b/net/minecraft/world/entity/SaddleStorage.java
|
||||
@@ -38,6 +38,15 @@
|
||||
@@ -40,6 +40,15 @@
|
||||
}
|
||||
}
|
||||
|
||||
+ // CraftBukkit add setBoostTicks(int)
|
||||
+ public void setBoostTicks(int ticks) {
|
||||
+ this.boosting = true;
|
||||
+ this.currentBoostTicks = 0;
|
||||
+ this.boostTicks = ticks;
|
||||
+ this.dataWatcher.set(this.dataWatcherBoostTicks, this.boostTicks);
|
||||
+ this.boostTime = 0;
|
||||
+ this.boostTimeTotal = ticks;
|
||||
+ this.entityData.set(this.boostTimeAccessor, this.boostTimeTotal);
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
+
|
||||
|
||||
Reference in New Issue
Block a user