mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-31 16:40:51 +01:00
Fix CraftVillager constructor to only take an EntityVillager
By: Andrew Ardill <andrew.ardill@gmail.com>
This commit is contained in:
parent
1e64b14e06
commit
f5793d6a80
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue