forked from SteamWar/SteamWar
Remove Now Unused Wrappers
This commit is contained in:
+2
-2
@@ -55,7 +55,7 @@ public abstract class SimulatorBaseGui {
|
||||
inv.setItem(i, null);
|
||||
}
|
||||
setup();
|
||||
if (TrickyTrialsWrapper.impl.getTopInventory(player.getOpenInventory()) != inv) {
|
||||
if (player.getOpenInventory().getTopInventory() != inv) {
|
||||
inventory.open();
|
||||
SimulatorWatcher.watch(player, simulator, this::open);
|
||||
}
|
||||
@@ -63,7 +63,7 @@ public abstract class SimulatorBaseGui {
|
||||
player.getOpenInventory().setTitle(title());
|
||||
}
|
||||
populate();
|
||||
if (TrickyTrialsWrapper.impl.getTopInventory(player.getOpenInventory()) == inv) {
|
||||
if (player.getOpenInventory().getTopInventory() == inv) {
|
||||
inventory.open();
|
||||
SimulatorWatcher.watch(player, simulator, this::open);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user