mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-25 09:41:29 +01:00
Fish / Dolphin should be WaterMob, and WaterMob Creature
By: md_5 <git@md-5.net>
This commit is contained in:
parent
e034ae75f7
commit
4ce8158350
@ -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