mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-24 09:11:26 +01:00
#1090: Remove no longer needed world reference from CraftMerchantCustom
By: blablubbabc <lukas@wirsindwir.de>
This commit is contained in:
parent
0424133c43
commit
d236296888
@ -34,7 +34,6 @@ public class CraftMerchantCustom extends CraftMerchant {
|
||||
private final IChatBaseComponent title;
|
||||
private final MerchantRecipeList trades = new MerchantRecipeList();
|
||||
private EntityHuman tradingPlayer;
|
||||
private World tradingWorld;
|
||||
protected CraftMerchant craftMerchant;
|
||||
|
||||
public MinecraftMerchant(String title) {
|
||||
@ -50,9 +49,6 @@ public class CraftMerchantCustom extends CraftMerchant {
|
||||
@Override
|
||||
public void setTradingPlayer(EntityHuman entityhuman) {
|
||||
this.tradingPlayer = entityhuman;
|
||||
if (entityhuman != null) {
|
||||
this.tradingWorld = entityhuman.level;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user