mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-26 19:07:40 +01:00
Fish / Dolphin should be WaterMob, and WaterMob Creature
This commit is contained in:
parent
b8ea9ec844
commit
10261f31d7
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user