summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/bukkit/craftbukkit/entity/CraftTropicalFish.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftTropicalFish.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftTropicalFish.java
index 42d1d4de..9243381a 100644
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftTropicalFish.java
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftTropicalFish.java
@@ -5,6 +5,7 @@ import java.util.Map;
import net.minecraft.server.EntityTropicalFish;
import org.bukkit.DyeColor;
import org.bukkit.craftbukkit.CraftServer;
+import org.bukkit.entity.EntityType;
import org.bukkit.entity.TropicalFish;
public class CraftTropicalFish extends CraftFish implements TropicalFish {
@@ -24,6 +25,11 @@ public class CraftTropicalFish extends CraftFish implements TropicalFish {
}
@Override
+ public EntityType getType() {
+ return EntityType.TROPICAL_FISH;
+ }
+
+ @Override
public DyeColor getPatternColor() {
return getPatternColor(getHandle().getVariant());
}