Remove Now Unused Wrappers

This commit is contained in:
2024-12-01 22:01:59 +01:00
parent e16410fd65
commit 66d417a210
5 changed files with 4 additions and 28 deletions
@@ -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);
}