mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 11:18:23 +01:00
SPIGOT-2963: Endless loop in CraftHumanEntity#openMerchant
This commit is contained in:
parent
50acb4477d
commit
7c743ff64b
1 changed files with 1 additions and 1 deletions
|
@ -360,7 +360,7 @@ public class CraftHumanEntity extends CraftLivingEntity implements HumanEntity {
|
|||
public InventoryView openMerchant(Villager villager, boolean force) {
|
||||
Preconditions.checkNotNull(villager, "villager cannot be null");
|
||||
|
||||
return this.openMerchant(villager, force);
|
||||
return this.openMerchant((Merchant) villager, force);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue