mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-15 12:51:22 +01:00
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) {
|
||||
Preconditions.checkNotNull(villager, "villager cannot be null");
|
||||
|
||||
return this.openMerchant(villager, force);
|
||||
return this.openMerchant((Merchant) villager, force);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user