Update to Minecraft 1.16.2

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2020-08-12 07:00:00 +10:00
parent 5e5f7f19dc
commit 6a9e00d4b6
208 changed files with 2144 additions and 2455 deletions

View File

@@ -6,10 +6,10 @@
+ // 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
+ this.boosting = true;
+ this.currentBoostTicks = 0;
+ this.boostTicks = ticks;
+ this.dataWatcher.set(this.dataWatcherBoostTicks, this.boostTicks);
+ }
+ // CraftBukkit end
+