geforkt von Mirrors/Paper
SPIGOT-5669: Fix Beehive.isSedated
By: Lars Dormans <lars.dormans@live.nl>
Dieser Commit ist enthalten in:
Ursprung
d76c6104ce
Commit
5833b4d35c
@ -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<TileEntityBeehive> imple
|
||||
|
||||
@Override
|
||||
public boolean isSedated() {
|
||||
return isPlaced() && getSnapshot().k(); // PAIL rename isSedated
|
||||
return isPlaced() && getTileEntity().k(); // PAIL rename isSedated
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren