mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-23 09:27:45 +01:00
SPIGOT-5669: Fix Beehive.isSedated
This commit is contained in:
parent
183139d41f
commit
8bd0e9ab0e
@ -9,8 +9,8 @@ import net.minecraft.server.TileEntityBeehive;
|
|||||||
import net.minecraft.server.TileEntityBeehive.ReleaseStatus;
|
import net.minecraft.server.TileEntityBeehive.ReleaseStatus;
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.block.Block;
|
|
||||||
import org.bukkit.block.Beehive;
|
import org.bukkit.block.Beehive;
|
||||||
|
import org.bukkit.block.Block;
|
||||||
import org.bukkit.craftbukkit.entity.CraftBee;
|
import org.bukkit.craftbukkit.entity.CraftBee;
|
||||||
import org.bukkit.entity.Bee;
|
import org.bukkit.entity.Bee;
|
||||||
|
|
||||||
@ -43,7 +43,7 @@ public class CraftBeehive extends CraftBlockEntityState<TileEntityBeehive> imple
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isSedated() {
|
public boolean isSedated() {
|
||||||
return isPlaced() && getSnapshot().k(); // PAIL rename isSedated
|
return isPlaced() && getTileEntity().k(); // PAIL rename isSedated
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user