mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2024-11-28 13:36:06 +01:00
Rename some GUIs.
This commit is contained in:
parent
818892e618
commit
dbe8cc50df
@ -23,7 +23,7 @@ import world.bentobox.challenges.panel.CommonGUI;
|
||||
* This class contains all necessary methods that creates GUI and allow to edit challenges
|
||||
* properties.
|
||||
*/
|
||||
public class ChallengesEditGUI extends CommonGUI
|
||||
public class ChallengeEditGUI extends CommonGUI
|
||||
{
|
||||
// ---------------------------------------------------------------------
|
||||
// Section: Constructors
|
||||
@ -34,7 +34,7 @@ public class ChallengesEditGUI extends CommonGUI
|
||||
* {@inheritDoc}
|
||||
* @param challenge challenge that needs editing.
|
||||
*/
|
||||
public ChallengesEditGUI(ChallengesAddon addon,
|
||||
public ChallengeEditGUI(ChallengesAddon addon,
|
||||
World world,
|
||||
User user,
|
||||
Challenges challenge,
|
||||
@ -49,7 +49,7 @@ public class ChallengesEditGUI extends CommonGUI
|
||||
* {@inheritDoc}
|
||||
* @param challenge challenge that needs editing.
|
||||
*/
|
||||
public ChallengesEditGUI(ChallengesAddon addon,
|
||||
public ChallengeEditGUI(ChallengesAddon addon,
|
||||
World world,
|
||||
User user,
|
||||
Challenges challenge,
|
@ -21,7 +21,7 @@ import world.bentobox.challenges.panel.CommonGUI;
|
||||
/**
|
||||
* This class contains all necessary elements to create Levels Edit GUI.
|
||||
*/
|
||||
public class LevelsEditGUI extends CommonGUI
|
||||
public class LevelEditGUI extends CommonGUI
|
||||
{
|
||||
// ---------------------------------------------------------------------
|
||||
// Section: Constructors
|
||||
@ -32,7 +32,7 @@ public class LevelsEditGUI extends CommonGUI
|
||||
* {@inheritDoc}
|
||||
* @param challengeLevel ChallengeLevel that must be edited.
|
||||
*/
|
||||
public LevelsEditGUI(ChallengesAddon addon,
|
||||
public LevelEditGUI(ChallengesAddon addon,
|
||||
World world,
|
||||
User user,
|
||||
ChallengeLevels challengeLevel,
|
||||
@ -47,7 +47,7 @@ public class LevelsEditGUI extends CommonGUI
|
||||
* {@inheritDoc}
|
||||
* @param challengeLevel ChallengeLevel that must be edited.
|
||||
*/
|
||||
public LevelsEditGUI(ChallengesAddon addon,
|
||||
public LevelEditGUI(ChallengesAddon addon,
|
||||
World world,
|
||||
User user,
|
||||
ChallengeLevels challengeLevel,
|
||||
@ -253,7 +253,7 @@ public class LevelsEditGUI extends CommonGUI
|
||||
icon(challenge.getIcon()).
|
||||
clickHandler((panel, user1, clickType, slot) -> {
|
||||
// Open challenges edit screen.
|
||||
new ChallengesEditGUI(this.addon,
|
||||
new ChallengeEditGUI(this.addon,
|
||||
this.world,
|
||||
this.user,
|
||||
challenge,
|
@ -20,7 +20,7 @@ import world.bentobox.challenges.panel.CommonGUI;
|
||||
/**
|
||||
* This class contains methods that allows to select specific user.
|
||||
*/
|
||||
public class ChallengesUserListGUI extends CommonGUI
|
||||
public class UserListGUI extends CommonGUI
|
||||
{
|
||||
// ---------------------------------------------------------------------
|
||||
// Section: Variables
|
||||
@ -56,7 +56,7 @@ public class ChallengesUserListGUI extends CommonGUI
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public ChallengesUserListGUI(ChallengesAddon addon,
|
||||
public UserListGUI(ChallengesAddon addon,
|
||||
World world,
|
||||
User user, String topLabel, String permissionPrefix)
|
||||
{
|
||||
@ -67,7 +67,7 @@ public class ChallengesUserListGUI extends CommonGUI
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public ChallengesUserListGUI(ChallengesAddon addon,
|
||||
public UserListGUI(ChallengesAddon addon,
|
||||
World world,
|
||||
User user,
|
||||
String topLabel,
|
Loading…
Reference in New Issue
Block a user