Fix CraftVillager constructor to only take an EntityVillager

This commit is contained in:
Andrew Ardill 2011-11-29 09:46:20 +11:00
parent 89338db181
commit 0c88f05c0d

View File

@ -6,7 +6,7 @@ import org.bukkit.craftbukkit.CraftServer;
import org.bukkit.entity.Villager; import org.bukkit.entity.Villager;
public class CraftVillager extends CraftCreature implements Villager { public class CraftVillager extends CraftCreature implements Villager {
public CraftVillager(CraftServer server, EntityCreature entity) { public CraftVillager(CraftServer server, EntityVillager entity) {
super(server, entity); super(server, entity);
} }