[Bleeding] Added EntityType to replace CreatureType.
This commit is contained in:
committed by
EvilSeph
parent
7792156fb2
commit
af51313ffb
@@ -3,6 +3,7 @@ package org.bukkit.craftbukkit.entity;
|
||||
import net.minecraft.server.EntityGiantZombie;
|
||||
|
||||
import org.bukkit.craftbukkit.CraftServer;
|
||||
import org.bukkit.entity.EntityType;
|
||||
import org.bukkit.entity.Giant;
|
||||
|
||||
public class CraftGiant extends CraftMonster implements Giant {
|
||||
@@ -20,4 +21,8 @@ public class CraftGiant extends CraftMonster implements Giant {
|
||||
public String toString() {
|
||||
return "CraftGiant";
|
||||
}
|
||||
|
||||
public EntityType getType() {
|
||||
return EntityType.GIANT;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user