[Bleeding] Added EntityType to replace CreatureType.
This commit is contained in:
committed by
EvilSeph
parent
7792156fb2
commit
af51313ffb
@@ -4,6 +4,7 @@ import net.minecraft.server.EntityFishingHook;
|
||||
import net.minecraft.server.EntityHuman;
|
||||
|
||||
import org.bukkit.craftbukkit.CraftServer;
|
||||
import org.bukkit.entity.EntityType;
|
||||
import org.bukkit.entity.Fish;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
|
||||
@@ -35,4 +36,8 @@ public class CraftFish extends AbstractProjectile implements Fish {
|
||||
public String toString() {
|
||||
return "CraftFish";
|
||||
}
|
||||
|
||||
public EntityType getType() {
|
||||
return EntityType.FISHING_HOOK;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user