Dieser Commit ist enthalten in:
Ursprung
b0703c393b
Commit
1a8c5a0677
@ -3,6 +3,7 @@ ON=§aon
|
|||||||
OFF=§coff
|
OFF=§coff
|
||||||
CHANGE=§7To change
|
CHANGE=§7To change
|
||||||
CLICK=§7Click
|
CLICK=§7Click
|
||||||
|
CLICK_DRAG_ITEM=§7Click or drag item here
|
||||||
CURRENT=§7Current: {0}
|
CURRENT=§7Current: {0}
|
||||||
CONFIRM=§aConfirm
|
CONFIRM=§aConfirm
|
||||||
CANCEL=§cCancel
|
CANCEL=§cCancel
|
||||||
|
@ -2,6 +2,7 @@ ON=§aAn
|
|||||||
OFF=§cAus
|
OFF=§cAus
|
||||||
CHANGE=§7Zum Ändern
|
CHANGE=§7Zum Ändern
|
||||||
CLICK=§7anklicken
|
CLICK=§7anklicken
|
||||||
|
CLICK_DRAG_ITEM=§7anklicken oder hier hineinlegen
|
||||||
CURRENT=§7Aktuell: {0}
|
CURRENT=§7Aktuell: {0}
|
||||||
CONFIRM=§aBestätigen
|
CONFIRM=§aBestätigen
|
||||||
CANCEL=§cAbbrechen
|
CANCEL=§cAbbrechen
|
||||||
|
@ -78,7 +78,7 @@ public class GUI {
|
|||||||
}
|
}
|
||||||
Material mat = SWItem.getMaterial(node.getItem());
|
Material mat = SWItem.getMaterial(node.getItem());
|
||||||
|
|
||||||
inv.setItemEvent(node.isDir()?7:5, mat, SchematicSystem.MESSAGE.parse("GUI_INFO_MAT", player, mat.name()), Arrays.asList(SchematicSystem.MESSAGE.parse("CHANGE", player), SchematicSystem.MESSAGE.parse("CLICK", player)), false, event -> {
|
inv.setItemEvent(node.isDir()?7:5, mat, SchematicSystem.MESSAGE.parse("GUI_INFO_MAT", player, mat.name()), Arrays.asList(SchematicSystem.MESSAGE.parse("CHANGE", player), SchematicSystem.MESSAGE.parse("CLICK_DRAG_ITEM", player)), false, event -> {
|
||||||
if(event.getCursor() != null && event.getCursor().getType() != Material.AIR) {
|
if(event.getCursor() != null && event.getCursor().getType() != Material.AIR) {
|
||||||
node.setItem(event.getCursor().getType().name());
|
node.setItem(event.getCursor().getType().name());
|
||||||
info(player, node, back);
|
info(player, node, back);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren