Updated Upstream (Bukkit/CraftBukkit)

Upstream has released updates that appears to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Bukkit Changes:
f4f2ef4c SPIGOT-6222: Correct javadoc for Entity#setPassenger
1871ca9d #559: Add wait time modification for FishHook

CraftBukkit Changes:
bc6a175e #767: Add wait time modification for FishHook
2fc37bcc SPIGOT-6197: Prevent world loading from updating spawn settings of all worlds
This commit is contained in:
Shane Freeder 2020-11-07 00:19:04 +00:00
parent 5ca52700fe
commit 690a0bc308
4 changed files with 14 additions and 12 deletions

View file

@ -26,11 +26,13 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
--- a/src/main/java/net/minecraft/server/EntityFishingHook.java --- a/src/main/java/net/minecraft/server/EntityFishingHook.java
+++ b/src/main/java/net/minecraft/server/EntityFishingHook.java +++ b/src/main/java/net/minecraft/server/EntityFishingHook.java
@@ -0,0 +0,0 @@ public class EntityFishingHook extends IProjectile { @@ -0,0 +0,0 @@ public class EntityFishingHook extends IProjectile {
this.ai = MathHelper.nextInt(this.random, 20, 80); entityhuman.hookedFish = this;
} this.an = Math.max(0, i);
} else { this.ao = Math.max(0, j);
- this.ah = MathHelper.nextInt(this.random, 100, 600); + // Paper start
+ this.ah = MathHelper.nextInt(this.random, world.paperConfig.fishingMinTicks, world.paperConfig.fishingMaxTicks); // Paper + minWaitTime = world.paperConfig.fishingMinTicks;
this.ah -= this.ao * 20 * 5; + maxWaitTime = world.paperConfig.fishingMaxTicks;
} + // paper end
} }
public EntityFishingHook(EntityHuman entityhuman, World world, int i, int j) {

View file

@ -37,6 +37,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
worldloadlistener.b(); worldloadlistener.b();
- chunkproviderserver.getLightEngine().a(5); - chunkproviderserver.getLightEngine().a(5);
+ chunkproviderserver.getLightEngine().a(worldserver.paperConfig.lightQueueSize); // Paper - increase light queue size + chunkproviderserver.getLightEngine().a(worldserver.paperConfig.lightQueueSize); // Paper - increase light queue size
this.bc();
// CraftBukkit start // CraftBukkit start
// this.bc();
worldserver.setSpawnFlags(this.getSpawnMonsters(), this.getSpawnAnimals());

@ -1 +1 @@
Subproject commit eda400d3d7f661c78c6128131d76f22f1dc113f5 Subproject commit f4f2ef4c27345098e83113b10cfd9d0718f53885

@ -1 +1 @@
Subproject commit 3eb7236e443d84d0cb8acb68c9bc6b324e4fbf62 Subproject commit bc6a175eff672c6c1ca469211dffd61f124fa6a3