Dieser Commit ist enthalten in:
Ursprung
be01ffee4e
Commit
a7a7d48d92
@ -103,7 +103,7 @@ public class SWInventory implements Listener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void setCallback(int pos, InvCallback c) {
|
public void setCallback(int pos, InvCallback c) {
|
||||||
callbacks.put(pos, inventoryClickEvent -> c.clicked(inventoryClickEvent.getClick()));
|
callbacks.put(pos, inventoryClickEvent -> c.clicked(inventoryClickEvent == null ? null : inventoryClickEvent.getClick()));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setItemEvent(int pos, ItemStack itemStack, Consumer<InventoryClickEvent> c) {
|
public void setItemEvent(int pos, ItemStack itemStack, Consumer<InventoryClickEvent> c) {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren