From 880190573c50b5ead7eb4e45825c676d3733cdaf Mon Sep 17 00:00:00 2001 From: ShaneBee Date: Sun, 9 Feb 2020 19:49:35 -0800 Subject: [PATCH] SPIGOT-5571: Beehive MaxEntities cannot be set back to 3 --- nms-patches/TileEntityBeehive.patch | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/nms-patches/TileEntityBeehive.patch b/nms-patches/TileEntityBeehive.patch index 2258fcae05..33337814ea 100644 --- a/nms-patches/TileEntityBeehive.patch +++ b/nms-patches/TileEntityBeehive.patch @@ -118,15 +118,11 @@ } @Override -@@ -275,6 +311,11 @@ +@@ -275,6 +311,7 @@ if (this.x()) { nbttagcompound.set("FlowerPos", GameProfileSerializer.a(this.flowerPos)); } -+ // CraftBukkit start -+ if (this.maxBees != 3) { -+ nbttagcompound.setInt("Bukkit.MaxEntities", this.maxBees); -+ } -+ // CraftBukkit end ++ nbttagcompound.setInt("Bukkit.MaxEntities", this.maxBees); // CraftBukkit return nbttagcompound; }