Add group chooser fix

Dieser Commit ist enthalten in:
D4rkr34lm 2023-10-22 12:23:33 +02:00 committet von yoyosource
Ursprung aef8edca07
Commit 647ef97bfb
2 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen

Datei anzeigen

@ -89,6 +89,7 @@ public class SimulatorRedstoneGui extends SimulatorScrollGui<RedstonePhase> {
new SimulatorRedstoneSettingsGui(player, simulator, redstone, this).open();
}));
//Group chooser
inventory.setItem(49, new SWItem(Material.LEAD, "§eMove", clickType -> {
new SimulatorGroupChooserGui(player, simulator, simulator.getElements(), redstone, simulatorGroup, this).open();
}));

Datei anzeigen

@ -46,6 +46,7 @@ public class SimulatorTNTGui extends SimulatorScrollGui<TNTPhase> {
public SimulatorTNTGui(Player player, Simulator simulator, TNTElement tnt, SimulatorGroup parent, SimulatorBaseGui back) {
super(player, simulator, 6 * 9, tnt.getPhases());
this.tnt = tnt;
this.parent = parent;
this.back = back;
}