Dieser Commit ist enthalten in:
Ursprung
02d47a3157
Commit
7726948a06
@ -55,8 +55,10 @@ public class SWListInv<T> extends SWInventory {
|
|||||||
public void open(){
|
public void open(){
|
||||||
opened = true;
|
opened = true;
|
||||||
inventory.clear();
|
inventory.clear();
|
||||||
callbacks.clear();
|
callbacks.keySet().stream().filter(i -> i < 0).forEach(callbacks::remove);
|
||||||
setCallback(-999, (ClickType click) -> player.closeInventory());
|
if(!callbacks.containsKey(-999)) {
|
||||||
|
setCallback(-999, (ClickType click) -> player.closeInventory());
|
||||||
|
}
|
||||||
|
|
||||||
if (sizeBiggerMax()) {
|
if (sizeBiggerMax()) {
|
||||||
if (page != 0) {
|
if (page != 0) {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren