geforkt von Mirrors/Paper
Fish / Dolphin should be WaterMob, and WaterMob Creature
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
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);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren