diff options
Diffstat (limited to 'patches/server/0276-Turtle-API.patch')
-rw-r--r-- | patches/server/0276-Turtle-API.patch | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/patches/server/0276-Turtle-API.patch b/patches/server/0276-Turtle-API.patch index 619fa7ebfc..fb6ff88d30 100644 --- a/patches/server/0276-Turtle-API.patch +++ b/patches/server/0276-Turtle-API.patch @@ -52,10 +52,10 @@ index ea1bb6924043dfd05452b793afd7651c867de5dc..1b0be28ebfd7ec2f978b5d87f6d26e4d @Override diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftTurtle.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftTurtle.java -index ed08089f21c8958fc9fc7e6e73a2b6ff9108242c..a3849ebba14b47b33f1af57c47f94c02aebea232 100644 +index ed08089f21c8958fc9fc7e6e73a2b6ff9108242c..b78289dd6a71b962c02247af578e939bc97847c8 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftTurtle.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftTurtle.java -@@ -24,4 +24,36 @@ public class CraftTurtle extends CraftAnimals implements Turtle { +@@ -24,4 +24,41 @@ public class CraftTurtle extends CraftAnimals implements Turtle { public EntityType getType() { return EntityType.TURTLE; } @@ -90,5 +90,10 @@ index ed08089f21c8958fc9fc7e6e73a2b6ff9108242c..a3849ebba14b47b33f1af57c47f94c02 + public void setHasEgg(boolean hasEgg) { + getHandle().setHasEgg(hasEgg); + } ++ ++ @Override ++ public boolean isLayingEgg() { ++ return this.getHandle().isLayingEgg(); ++ } + // Paper end } |