Fix visuals of SWListInv with no dynamic size
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Dieser Commit ist enthalten in:
Ursprung
6152f124c7
Commit
cee0b892b3
@ -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;
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren