Schematic list deny negative numbers
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
e5c3b86e58
Commit
71bdc19642
@ -475,7 +475,7 @@ public class SchematicCommand implements CommandExecutor {
|
||||
}else
|
||||
pages = intPages;
|
||||
|
||||
if(currentPage >= pages) return;
|
||||
if(currentPage >= pages || currentPage < 0) return;
|
||||
|
||||
player.sendMessage("§eSeite " + (currentPage + 1) + " §8/ " + pages + " §8| §e" + schematicList.size() + " Schematics");
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren