Signed-off-by: Chaoscaot <chaoscaot444@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
36f782f1de
Commit
40ee3209a2
@ -270,7 +270,9 @@ public class SchematicSelector {
|
||||
SWAnvilInv swAnvilInv = new SWAnvilInv(player, Core.MESSAGE.parse("SCHEM_SELECTOR_FILTER_ENTER_OWNER", player));
|
||||
swAnvilInv.setItem(Material.PLAYER_HEAD);
|
||||
swAnvilInv.setCallback(s -> {
|
||||
if(SteamwarUser.get(s) != null) {
|
||||
filter.setOwner(SteamwarUser.get(s).getId());
|
||||
}
|
||||
openFilter();
|
||||
});
|
||||
swAnvilInv.open();
|
||||
@ -335,11 +337,13 @@ public class SchematicSelector {
|
||||
|
||||
inv.setItem(7, SWItem.getDye(1), Core.MESSAGE.parse("SCHEM_SELECTOR_CANCEL", player), clickType -> {
|
||||
filter.reset();
|
||||
depth = 0;
|
||||
openList(null);
|
||||
});
|
||||
inv.setItem(8, SWItem.getDye(10), Core.MESSAGE.parse("SCHEM_SELECTOR_GO", player), clickType -> {
|
||||
filter.setFilter(true);
|
||||
injectable.onFilterApply(this);
|
||||
depth = 0;
|
||||
openList(null);
|
||||
});
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren