SteamWar/BauSystem2.0
Archiviert
12
0

Optimize SimulatorBaseGui

Dieser Commit ist enthalten in:
yoyosource 2023-10-22 12:31:19 +02:00
Ursprung 9ceb8b40ae
Commit f6ee55c44f

Datei anzeigen

@ -48,7 +48,7 @@ public abstract class SimulatorBaseGui {
String newTitle = title(); String newTitle = title();
String originalTitle = player.getOpenInventory().getTitle(); String originalTitle = player.getOpenInventory().getTitle();
if (inv != null && (newTitle.equals(originalTitle) || Core.getVersion() > 19)) { if (inv != null && (Core.getVersion() > 19 || newTitle.equals(originalTitle))) {
inv.clear(); inv.clear();
setup(); setup();
if (player.getOpenInventory().getTopInventory() != inv) { if (player.getOpenInventory().getTopInventory() != inv) {