From 62633f31dfbad79a5dd03af2ccb26f4bb2dbcd9f Mon Sep 17 00:00:00 2001 From: md_5 Date: Mon, 16 Jul 2018 08:51:25 +1000 Subject: Fish / Dolphin should be WaterMob, and WaterMob Creature --- src/main/java/org/bukkit/entity/Dolphin.java | 2 +- src/main/java/org/bukkit/entity/Fish.java | 2 +- src/main/java/org/bukkit/entity/WaterMob.java | 2 +- 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 {} -- cgit v1.2.3