summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-07-16 08:51:25 +1000
committermd_5 <git@md-5.net>2018-07-16 08:51:25 +1000
commit62633f31dfbad79a5dd03af2ccb26f4bb2dbcd9f (patch)
tree8b9e24faf83082efcf40c38ef0c9e0213bf02f11
parent59c4c0b7d460e8e3eaf9b12d8cafa888c3a68ce6 (diff)
downloadbukkit-62633f31dfbad79a5dd03af2ccb26f4bb2dbcd9f.tar
bukkit-62633f31dfbad79a5dd03af2ccb26f4bb2dbcd9f.tar.gz
bukkit-62633f31dfbad79a5dd03af2ccb26f4bb2dbcd9f.tar.lz
bukkit-62633f31dfbad79a5dd03af2ccb26f4bb2dbcd9f.tar.xz
bukkit-62633f31dfbad79a5dd03af2ccb26f4bb2dbcd9f.zip
Fish / Dolphin should be WaterMob, and WaterMob Creature
-rw-r--r--src/main/java/org/bukkit/entity/Dolphin.java2
-rw-r--r--src/main/java/org/bukkit/entity/Fish.java2
-rw-r--r--src/main/java/org/bukkit/entity/WaterMob.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/org/bukkit/entity/Dolphin.java b/src/main/java/org/bukkit/entity/Dolphin.java
index 3d6b9f32..f00eaadc 100644
--- a/src/main/java/org/bukkit/entity/Dolphin.java
+++ b/src/main/java/org/bukkit/entity/Dolphin.java
@@ -1,3 +1,3 @@
package org.bukkit.entity;
-public interface Dolphin extends Creature { }
+public interface Dolphin extends WaterMob { }
diff --git a/src/main/java/org/bukkit/entity/Fish.java b/src/main/java/org/bukkit/entity/Fish.java
index 570b7bc1..82e390b2 100644
--- a/src/main/java/org/bukkit/entity/Fish.java
+++ b/src/main/java/org/bukkit/entity/Fish.java
@@ -3,4 +3,4 @@ package org.bukkit.entity;
/**
* Represents a fish entity.
*/
-public interface Fish extends Creature { }
+public interface Fish extends WaterMob { }
diff --git a/src/main/java/org/bukkit/entity/WaterMob.java b/src/main/java/org/bukkit/entity/WaterMob.java
index 3e89ca0c..62b4e89d 100644
--- a/src/main/java/org/bukkit/entity/WaterMob.java
+++ b/src/main/java/org/bukkit/entity/WaterMob.java
@@ -3,4 +3,4 @@ package org.bukkit.entity;
/**
* Represents a Water Mob
*/
-public interface WaterMob extends LivingEntity {}
+public interface WaterMob extends Creature {}