Fixed anvil menu issue under bedrock (Fightsystem Issue No. 380) #239
@ -76,6 +76,7 @@ public class SWAnvilInv {
|
||||
}
|
||||
|
||||
public void open() {
|
||||
player.setLevel(1);
|
||||
builder.open(player);
|
||||
}
|
||||
|
||||
@ -83,6 +84,7 @@ public class SWAnvilInv {
|
||||
if(s.startsWith("»"))
|
||||
s = s.substring(1);
|
||||
callback.accept(s);
|
||||
player.setLevel(0);
|
||||
return Collections.singletonList(AnvilGUI.ResponseAction.close());
|
||||
}
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren