Deprecate Turtle#isDigging (#11959)

This commit is contained in:
Lulu13022002
2025-01-12 21:49:25 +01:00
committed by GitHub
parent 86c6308faf
commit 2ea6aee343
3 changed files with 8 additions and 12 deletions

View File

@@ -29,7 +29,6 @@ public class CraftTurtle extends CraftAnimals implements Turtle {
return this.getHandle().isLayingEgg();
}
// Paper start
@Override
public org.bukkit.Location getHome() {
return io.papermc.paper.util.MCUtil.toLocation(this.getHandle().level(), this.getHandle().getHomePos());
@@ -45,14 +44,8 @@ public class CraftTurtle extends CraftAnimals implements Turtle {
return this.getHandle().isGoingHome();
}
@Override
public boolean isDigging() {
return this.getHandle().isLayingEgg();
}
@Override
public void setHasEgg(boolean hasEgg) {
this.getHandle().setHasEgg(hasEgg);
}
// Paper end
}