mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
Improve per-player schematic declaration
This commit is contained in:
parent
e550189cb8
commit
4a6af7182a
@ -620,11 +620,18 @@ public class SchematicCommands {
|
|||||||
Settings.IMP.EXPERIMENTAL.PER_PLAYER_FILE_SIZE_LIMIT);
|
Settings.IMP.EXPERIMENTAL.PER_PLAYER_FILE_SIZE_LIMIT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Settings.IMP.PATHS.PER_PLAYER_SCHEMATICS) {
|
||||||
|
String fullHeader = "| My Schematics: " + headerBytesElem + " |";
|
||||||
|
PaginationBox paginationBox = PaginationBox.fromComponents(fullHeader, pageCommand, components);
|
||||||
|
actor.print(paginationBox.create(page));
|
||||||
|
} else {
|
||||||
String fullHeader = "| Schematics: " + headerBytesElem + " |";
|
String fullHeader = "| Schematics: " + headerBytesElem + " |";
|
||||||
PaginationBox paginationBox = PaginationBox.fromComponents(fullHeader, pageCommand, components);
|
PaginationBox paginationBox = PaginationBox.fromComponents(fullHeader, pageCommand, components);
|
||||||
actor.print(paginationBox.create(page));
|
actor.print(paginationBox.create(page));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
@Command(
|
@Command(
|
||||||
name = "delete",
|
name = "delete",
|
||||||
aliases = {"d"},
|
aliases = {"d"},
|
||||||
|
Loading…
Reference in New Issue
Block a user