Temporarily enabling the blueprint selection panel.

Please replace when the alternative panel does something.
This commit is contained in:
tastybento 2019-05-15 19:24:31 -07:00
parent a55459a70c
commit 6b6a757727
2 changed files with 4 additions and 4 deletions

View File

@ -66,8 +66,8 @@ public class IslandCreateCommand extends CompositeCommand {
return makeIsland(user, name);
} else {
// Show panel
//getPlugin().getBlueprintsManager().showPanel(this, user, label);
IslandCreationPanel.openPanel(user, (GameModeAddon) getAddon());
getPlugin().getBlueprintsManager().showPanel(this, user, label);
//IslandCreationPanel.openPanel(user, (GameModeAddon) getAddon());
return true;
}
}

View File

@ -88,8 +88,8 @@ public class IslandResetCommand extends ConfirmableCommand {
if (getPlugin().getSettings().isResetConfirmation()) {
this.askConfirmation(user, () -> getPlugin().getBlueprintsManager().showPanel(this, user, label));
} else {
//getPlugin().getBlueprintsManager().showPanel(this, user, label);
IslandCreationPanel.openPanel(user, (GameModeAddon) getAddon());
getPlugin().getBlueprintsManager().showPanel(this, user, label);
//IslandCreationPanel.openPanel(user, (GameModeAddon) getAddon());
}
return true;
}