Skip to content

Commit

Permalink
Fix issue, when new challenges and levels were without world name.
Browse files Browse the repository at this point in the history
  • Loading branch information
BONNe committed Jan 26, 2019
1 parent ca26fa0 commit 01482b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ private PanelItem createButton(Button button)
new EditChallengeGUI(this.addon,
this.world,
this.user,
this.addon.getChallengesManager().createChallenge(reply),
this.addon.getChallengesManager().createChallenge(newName),
this.topLabel,
this.permissionPrefix,
this).build();
Expand Down Expand Up @@ -242,7 +242,7 @@ private PanelItem createButton(Button button)
new EditLevelGUI(this.addon,
this.world,
this.user,
this.addon.getChallengesManager().createLevel(reply),
this.addon.getChallengesManager().createLevel(newName),
this.topLabel,
this.permissionPrefix,
this).build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ private void buildIslandRequirementsPanel(PanelBuilder panelBuilder)
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));
Expand Down

0 comments on commit 01482b9

Please sign in to comment.