Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-27 03:12:37 +01:00
Improve per-player schematic declaration
Dieser Commit ist enthalten in:
Ursprung
e550189cb8
Commit
4a6af7182a
@ -617,12 +617,19 @@ public class SchematicCommands {
|
|||||||
|
|
||||||
if (Settings.IMP.PATHS.PER_PLAYER_SCHEMATICS && Settings.IMP.EXPERIMENTAL.PER_PLAYER_FILE_SIZE_LIMIT > -1) {
|
if (Settings.IMP.PATHS.PER_PLAYER_SCHEMATICS && Settings.IMP.EXPERIMENTAL.PER_PLAYER_FILE_SIZE_LIMIT > -1) {
|
||||||
headerBytesElem += String.format(" / %dkb",
|
headerBytesElem += String.format(" / %dkb",
|
||||||
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 + " |";
|
||||||
|
PaginationBox paginationBox = PaginationBox.fromComponents(fullHeader, pageCommand, components);
|
||||||
|
actor.print(paginationBox.create(page));
|
||||||
}
|
}
|
||||||
|
|
||||||
String fullHeader = "| Schematics: " + headerBytesElem + " |";
|
|
||||||
PaginationBox paginationBox = PaginationBox.fromComponents(fullHeader, pageCommand, components);
|
|
||||||
actor.print(paginationBox.create(page));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Command(
|
@Command(
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren