add direct setCallback method
Dieser Commit ist enthalten in:
Ursprung
89c4ca9e47
Commit
b3dc01bdb3
@ -66,6 +66,10 @@ public class SWInventory implements Listener, Inventory {
|
|||||||
setItem(pos, item);
|
setItem(pos, item);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void setCallback(int pos, InvCallback c){
|
||||||
|
callbacks.put(pos, c);
|
||||||
|
}
|
||||||
|
|
||||||
public void open(){
|
public void open(){
|
||||||
player.openInventory(this);
|
player.openInventory(this);
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren