SteamWar/SpigotCore
Archiviert
13
0

Merge pull request 'Fix visuals of SWListInv with no dynamic size' (#237) from VisualFix into master
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Reviewed-on: #237
Reviewed-by: Lixfel <lixfel@steamwar.de>
Dieser Commit ist enthalten in:
Lixfel 2023-04-06 16:38:20 +02:00
Commit d67a5b7594

Datei anzeigen

@ -80,6 +80,11 @@ public class SWListInv<T> extends SWInventory {
setItem(53, SWItem.getDye(8), (byte) 8, Core.MESSAGE.parse("SWLISINV_NEXT_PAGE_INACTIVE", player), (ClickType click) -> { setItem(53, SWItem.getDye(8), (byte) 8, Core.MESSAGE.parse("SWLISINV_NEXT_PAGE_INACTIVE", player), (ClickType click) -> {
}); });
} }
} else if (!dynamicSize) {
setItem(45, SWItem.getDye(8), (byte) 8, Core.MESSAGE.parse("SWLISINV_PREVIOUS_PAGE_INACTIVE", player), (ClickType click) -> {
});
setItem(53, SWItem.getDye(8), (byte) 8, Core.MESSAGE.parse("SWLISINV_NEXT_PAGE_INACTIVE", player), (ClickType click) -> {
});
} }
int ipageLimit = elements.size() - page * 45; int ipageLimit = elements.size() - page * 45;