Skip to content

Commit

Permalink
Rename GeneratorAdminPanel to AdminPanel for better code viewing.
Browse files Browse the repository at this point in the history
  • Loading branch information
BONNe committed Nov 6, 2020
1 parent 7fedc15 commit 19a5b70
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import world.bentobox.bentobox.database.objects.Island;
import world.bentobox.bentobox.util.Util;
import world.bentobox.magiccobblestonegenerator.StoneGeneratorAddon;
import world.bentobox.magiccobblestonegenerator.panels.admin.GeneratorAdminPanel;
import world.bentobox.magiccobblestonegenerator.panels.admin.AdminPanel;
import world.bentobox.magiccobblestonegenerator.utils.Constants;
import world.bentobox.magiccobblestonegenerator.utils.Utils;

Expand Down Expand Up @@ -76,7 +76,7 @@ public boolean execute(User user, String label, List<String> args)
{
if (args.isEmpty())
{
GeneratorAdminPanel.openPanel(this.getAddon(), this.getWorld(), user);
AdminPanel.openPanel(this.getAddon(), this.getWorld(), user);
}
else
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
/**
* This class creates and manages Admin Panel for MCG.
*/
public class GeneratorAdminPanel extends CommonPanel
public class AdminPanel extends CommonPanel
{
/**
* This is default constructor for all classes that extends CommonPanel.
Expand All @@ -38,7 +38,7 @@ public class GeneratorAdminPanel extends CommonPanel
* @param user User who opens panel.
* @param world GUI target world.
*/
protected GeneratorAdminPanel(StoneGeneratorAddon addon,
protected AdminPanel(StoneGeneratorAddon addon,
User user,
World world)
{
Expand All @@ -56,7 +56,7 @@ public static void openPanel(StoneGeneratorAddon addon,
World world,
User user)
{
new GeneratorAdminPanel(addon, user, world).build();
new AdminPanel(addon, user, world).build();
}


Expand Down

0 comments on commit 19a5b70

Please sign in to comment.