3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-18 20:40:08 +01:00

SPIGOT-2963: Endless loop in CraftHumanEntity#openMerchant

Dieser Commit ist enthalten in:
md_5 2016-12-27 09:01:22 +11:00
Ursprung 50acb4477d
Commit 7c743ff64b

Datei anzeigen

@ -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