#686: Expand Strider and Steerable entity API
By: Parker Hawke <hawkeboyz2@hotmail.com>
This commit is contained in:
18
paper-server/nms-patches/SaddleStorage.patch
Normal file
18
paper-server/nms-patches/SaddleStorage.patch
Normal file
@@ -0,0 +1,18 @@
|
||||
--- a/net/minecraft/server/SaddleStorage.java
|
||||
+++ b/net/minecraft/server/SaddleStorage.java
|
||||
@@ -35,6 +35,15 @@
|
||||
}
|
||||
}
|
||||
|
||||
+ // CraftBukkit add setBoostTicks(int)
|
||||
+ public void setBoostTicks(int ticks) {
|
||||
+ this.a = true; // PAIL rename boosting
|
||||
+ this.b = 0; // PAIL rename currentBoostTicks
|
||||
+ this.c = ticks; // PAIL rename boostTicks
|
||||
+ this.d.set(this.e, this.c); // PAIL rename dataWatcher, dataWatcherBoostTicks
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
+
|
||||
public void a(NBTTagCompound nbttagcompound) {
|
||||
nbttagcompound.setBoolean("Saddle", this.hasSaddle());
|
||||
}
|
||||
Reference in New Issue
Block a user