Fix issue, when new challenges and levels were without world name.

This commit is contained in:
BONNe 2019-01-26 13:17:38 +02:00
parent ca26fa0d8f
commit 01482b926b
2 changed files with 3 additions and 3 deletions

View File

@ -206,7 +206,7 @@ public class AdminGUI extends CommonGUI
new EditChallengeGUI(this.addon,
this.world,
this.user,
this.addon.getChallengesManager().createChallenge(reply),
this.addon.getChallengesManager().createChallenge(newName),
this.topLabel,
this.permissionPrefix,
this).build();
@ -242,7 +242,7 @@ public class AdminGUI extends CommonGUI
new EditLevelGUI(this.addon,
this.world,
this.user,
this.addon.getChallengesManager().createLevel(reply),
this.addon.getChallengesManager().createLevel(newName),
this.topLabel,
this.permissionPrefix,
this).build();

View File

@ -147,7 +147,7 @@ public class EditChallengeGUI extends CommonGUI
panelBuilder.item(28, this.createButton(Button.REMOVE_ENTITIES));
panelBuilder.item(21, this.createButton(Button.REQUIRED_BLOCKS));
panelBuilder.item(29, this.createButton(Button.REMOVE_BLOCKS));
panelBuilder.item(30, this.createButton(Button.REMOVE_BLOCKS));
panelBuilder.item(23, this.createButton(Button.SEARCH_RADIUS));
panelBuilder.item(25, this.createButton(Button.REQUIRED_PERMISSIONS));