Add error messages #129
@ -1,8 +1,8 @@
|
|||||||
PREFIX=§eSchematic§8» §7
|
PREFIX=§eSchematic§8» §7
|
||||||
ON=§aon
|
ON=§aon
|
||||||
OFF=§coff
|
OFF=§coff
|
||||||
CHANGE=§7change
|
CHANGE=§7To change
|
||||||
CLICK=§7click
|
CLICK=§7Click
|
||||||
CURRENT=§7Current: {0}
|
CURRENT=§7Current: {0}
|
||||||
CONFIRM=§aConfirm
|
CONFIRM=§aConfirm
|
||||||
CANCEL=§cCancel
|
CANCEL=§cCancel
|
||||||
|
@ -82,7 +82,7 @@ public class GUI {
|
|||||||
changeItem(player, node, back);
|
changeItem(player, node, back);
|
||||||
});
|
});
|
||||||
if(!node.isDir()) {
|
if(!node.isDir()) {
|
||||||
inv.setItem(6, SWItem.getMaterial("CAULDRON_ITEM"), SchematicSystem.MESSAGE.parse("GUI_INFO_TYPE", player, mat.name()), Arrays.asList(SchematicSystem.MESSAGE.parse("CHANGE", player), SchematicSystem.MESSAGE.parse("CLICK", player)), node.getSchemtype().fightType(), click -> {
|
inv.setItem(6, node.getSchemtype().getMaterial(), SchematicSystem.MESSAGE.parse("GUI_INFO_TYPE", player, node.getSchemtype().name()), Arrays.asList(SchematicSystem.MESSAGE.parse("CHANGE", player), SchematicSystem.MESSAGE.parse("CLICK", player)), node.getSchemtype().fightType(), click -> {
|
||||||
changeType(player, node);
|
changeType(player, node);
|
||||||
});
|
});
|
||||||
inv.setItem(7, SWItem.getMaterial("MAGENTA_GLAZED_TERRACOTTA"), SchematicSystem.MESSAGE.parse("GUI_INFO_DOWNLOAD", player), click -> {
|
inv.setItem(7, SWItem.getMaterial("MAGENTA_GLAZED_TERRACOTTA"), SchematicSystem.MESSAGE.parse("GUI_INFO_DOWNLOAD", player), click -> {
|
||||||
|
@ -455,7 +455,7 @@ public class SchematicCommand extends SWCommand {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
addMember(player, node, team.getMembers().stream().map(SteamwarUser::get).toArray(SteamwarUser[]::new));
|
addMember(player, node, team.getMembers().stream().map(SteamwarUser::get).filter(steamwarUser -> steamwarUser.getId() != user.getId()).toArray(SteamwarUser[]::new));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Register("delteam")
|
@Register("delteam")
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren