Fix CraftVillager constructor to only take an EntityVillager

By: Andrew Ardill <andrew.ardill@gmail.com>
This commit is contained in:
CraftBukkit/Spigot 2011-11-29 09:46:20 +11:00
parent 1e64b14e06
commit f5793d6a80

View File

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