Fixing SchemList
Dieser Commit ist enthalten in:
Ursprung
7d14bc6ead
Commit
b0fc8d302e
@ -32,7 +32,6 @@ public class SWListInv<T> extends SWInventory {
|
|||||||
clear();
|
clear();
|
||||||
setCallback(-999, (ClickType click) -> player.closeInventory());
|
setCallback(-999, (ClickType click) -> player.closeInventory());
|
||||||
if(elements.size() > 54){
|
if(elements.size() > 54){
|
||||||
//TODO: Shift & Right-Click-Features
|
|
||||||
if(page != 0)
|
if(page != 0)
|
||||||
setItem(45, Material.INK_SACK, (byte)10, "§eSeite zurück", (ClickType click) -> {
|
setItem(45, Material.INK_SACK, (byte)10, "§eSeite zurück", (ClickType click) -> {
|
||||||
page--;
|
page--;
|
||||||
@ -40,7 +39,7 @@ public class SWListInv<T> extends SWInventory {
|
|||||||
});
|
});
|
||||||
else
|
else
|
||||||
setItem(45, Material.INK_SACK, (byte)8, "§7Seite zurück", (ClickType click) -> {});
|
setItem(45, Material.INK_SACK, (byte)8, "§7Seite zurück", (ClickType click) -> {});
|
||||||
if(page < elements.size()%45)
|
if(page < elements.size()/45)
|
||||||
setItem(53, Material.INK_SACK, (byte)10, "§eSeite vor", (ClickType click) -> {
|
setItem(53, Material.INK_SACK, (byte)10, "§eSeite vor", (ClickType click) -> {
|
||||||
page++;
|
page++;
|
||||||
open();
|
open();
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren