mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-01 06:53:44 +01:00
Fix CraftVillager constructor to only take an EntityVillager
This commit is contained in:
parent
89338db181
commit
0c88f05c0d
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user