[Bleeding] Added EntityType to replace CreatureType.

This commit is contained in:
Celtic Minstrel
2012-02-06 00:19:23 -05:00
committed by EvilSeph
parent 7792156fb2
commit af51313ffb
49 changed files with 280 additions and 86 deletions

View File

@@ -3,6 +3,7 @@ package org.bukkit.craftbukkit.entity;
import net.minecraft.server.EntityPigZombie;
import org.bukkit.craftbukkit.CraftServer;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.PigZombie;
public class CraftPigZombie extends CraftZombie implements PigZombie {
@@ -36,4 +37,8 @@ public class CraftPigZombie extends CraftZombie implements PigZombie {
public String toString() {
return "CraftPigZombie";
}
public EntityType getType() {
return EntityType.PIG_ZOMBIE;
}
}