Implement update logic from old system
Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
ac7b0d929e
Commit
966ed270db
@ -192,6 +192,10 @@ public class CustomScriptListener implements Listener {
|
||||
updateInventory(p);
|
||||
|
||||
String s = UserConfig.getConfig(p.getUniqueId(), "bausystem-scripts");
|
||||
if (s == null) {
|
||||
s = UserConfig.getConfig(p.getUniqueId(), "bausystem-commands");
|
||||
UserConfig.removePlayerConfig(p.getUniqueId(), "bausystem-commands");
|
||||
}
|
||||
YAPIONObject yapionObject;
|
||||
if (s == null) {
|
||||
yapionObject = new YAPIONObject();
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren