#1090: Remove no longer needed world reference from CraftMerchantCustom
This commit is contained in:
parent
7550f6854e
commit
d12768f755
@ -34,7 +34,6 @@ public class CraftMerchantCustom extends CraftMerchant {
|
|||||||
private final IChatBaseComponent title;
|
private final IChatBaseComponent title;
|
||||||
private final MerchantRecipeList trades = new MerchantRecipeList();
|
private final MerchantRecipeList trades = new MerchantRecipeList();
|
||||||
private EntityHuman tradingPlayer;
|
private EntityHuman tradingPlayer;
|
||||||
private World tradingWorld;
|
|
||||||
protected CraftMerchant craftMerchant;
|
protected CraftMerchant craftMerchant;
|
||||||
|
|
||||||
public MinecraftMerchant(String title) {
|
public MinecraftMerchant(String title) {
|
||||||
@ -50,9 +49,6 @@ public class CraftMerchantCustom extends CraftMerchant {
|
|||||||
@Override
|
@Override
|
||||||
public void setTradingPlayer(EntityHuman entityhuman) {
|
public void setTradingPlayer(EntityHuman entityhuman) {
|
||||||
this.tradingPlayer = entityhuman;
|
this.tradingPlayer = entityhuman;
|
||||||
if (entityhuman != null) {
|
|
||||||
this.tradingWorld = entityhuman.level;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user