[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.EntityBlaze;
|
||||
|
||||
import org.bukkit.craftbukkit.CraftServer;
|
||||
import org.bukkit.entity.Blaze;
|
||||
import org.bukkit.entity.EntityType;
|
||||
|
||||
public class CraftBlaze extends CraftMonster implements Blaze {
|
||||
public CraftBlaze(CraftServer server, EntityBlaze entity) {
|
||||
@@ -19,4 +20,8 @@ public class CraftBlaze extends CraftMonster implements Blaze {
|
||||
public String toString() {
|
||||
return "CraftBlaze";
|
||||
}
|
||||
|
||||
public EntityType getType() {
|
||||
return EntityType.BLAZE;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user