Dieser Commit ist enthalten in:
Ursprung
66ee4c4243
Commit
332f52c98b
@ -72,7 +72,6 @@ public class SWAnvilInv {
|
||||
}
|
||||
|
||||
public void addCloseCallback(Runnable callback) {
|
||||
player.setLevel(0);
|
||||
builder.onClose(p -> callback.run());
|
||||
}
|
||||
|
||||
@ -85,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