diff options
Diffstat (limited to 'src/main/java')
3 files changed, 3 insertions, 4 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftDolphin.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftDolphin.java index 7a838f38..0399e6f5 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftDolphin.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftDolphin.java @@ -5,7 +5,7 @@ import org.bukkit.craftbukkit.CraftServer; import org.bukkit.entity.Dolphin; import org.bukkit.entity.EntityType; -public class CraftDolphin extends CraftCreature implements Dolphin { +public class CraftDolphin extends CraftWaterMob implements Dolphin { public CraftDolphin(CraftServer server, EntityDolphin entity) { super(server, entity); diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftFish.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftFish.java index aaa6bed3..6169119c 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftFish.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftFish.java @@ -4,7 +4,7 @@ import net.minecraft.server.EntityFish; import org.bukkit.craftbukkit.CraftServer; import org.bukkit.entity.Fish; -public class CraftFish extends CraftCreature implements Fish { +public class CraftFish extends CraftWaterMob implements Fish { public CraftFish(CraftServer server, EntityFish entity) { super(server, entity); diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftWaterMob.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftWaterMob.java index ee21d7b6..39e8d89b 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftWaterMob.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftWaterMob.java @@ -3,10 +3,9 @@ package org.bukkit.craftbukkit.entity; import net.minecraft.server.EntityWaterAnimal; import org.bukkit.craftbukkit.CraftServer; -import org.bukkit.entity.LivingEntity; import org.bukkit.entity.WaterMob; -public class CraftWaterMob extends CraftLivingEntity implements WaterMob { +public class CraftWaterMob extends CraftCreature implements WaterMob { public CraftWaterMob(CraftServer server, EntityWaterAnimal entity) { super(server, entity); |