From 5833b4d35c232da1c8168cbc28e7a700a974f5f7 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Mon, 13 Apr 2020 00:49:58 +0200 Subject: [PATCH] SPIGOT-5669: Fix Beehive.isSedated By: Lars Dormans --- .../main/java/org/bukkit/craftbukkit/block/CraftBeehive.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/block/CraftBeehive.java b/paper-server/src/main/java/org/bukkit/craftbukkit/block/CraftBeehive.java index 717ccd47e2..c8b41ba0bd 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/block/CraftBeehive.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/block/CraftBeehive.java @@ -9,8 +9,8 @@ import net.minecraft.server.TileEntityBeehive; import net.minecraft.server.TileEntityBeehive.ReleaseStatus; import org.bukkit.Location; import org.bukkit.Material; -import org.bukkit.block.Block; import org.bukkit.block.Beehive; +import org.bukkit.block.Block; import org.bukkit.craftbukkit.entity.CraftBee; import org.bukkit.entity.Bee; @@ -43,7 +43,7 @@ public class CraftBeehive extends CraftBlockEntityState imple @Override public boolean isSedated() { - return isPlaced() && getSnapshot().k(); // PAIL rename isSedated + return isPlaced() && getTileEntity().k(); // PAIL rename isSedated } @Override