SPIGOT-2963: Endless loop in CraftHumanEntity#openMerchant
This commit is contained in:
parent
50acb4477d
commit
7c743ff64b
@ -360,7 +360,7 @@ public class CraftHumanEntity extends CraftLivingEntity implements HumanEntity {
|
|||||||
public InventoryView openMerchant(Villager villager, boolean force) {
|
public InventoryView openMerchant(Villager villager, boolean force) {
|
||||||
Preconditions.checkNotNull(villager, "villager cannot be null");
|
Preconditions.checkNotNull(villager, "villager cannot be null");
|
||||||
|
|
||||||
return this.openMerchant(villager, force);
|
return this.openMerchant((Merchant) villager, force);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user