Fixed anvil menu issue under bedrock (Fightsystem Issue No. 380) #239
@ -72,10 +72,12 @@ public class SWAnvilInv {
|
||||
}
|
||||
|
||||
public void addCloseCallback(Runnable callback) {
|
||||
player.setLevel(0);
|
||||
builder.onClose(p -> callback.run());
|
||||
}
|
||||
|
||||
public void open() {
|
||||
player.setLevel(1);
|
||||
builder.open(player);
|
||||
}
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren