summaryrefslogtreecommitdiffstats
path: root/src/main/java/org
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/entity/CraftAnimals.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftAnimals.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftAnimals.java
index 4b9b0783..f671ad12 100644
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftAnimals.java
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftAnimals.java
@@ -1,5 +1,6 @@
package org.bukkit.craftbukkit.entity;
+import java.util.UUID;
import net.minecraft.server.EntityAnimal;
import org.bukkit.craftbukkit.CraftServer;
import org.bukkit.entity.Animals;
@@ -19,4 +20,14 @@ public class CraftAnimals extends CraftAgeable implements Animals {
public String toString() {
return "CraftAnimals";
}
+
+ @Override
+ public UUID getBreedCause() {
+ return getHandle().bD;
+ }
+
+ @Override
+ public void setBreedCause(UUID uuid) {
+ getHandle().bD = uuid;
+ }
}