13
0
geforkt von Mirrors/Paper

SPIGOT-2963: Endless loop in CraftHumanEntity#openMerchant

By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2016-12-27 09:01:22 +11:00
Ursprung 14eb034e4b
Commit 2d5ab1f7b5

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