mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2024-11-22 10:35:58 +01:00
Add ManageEntitiesGUI and ManageBlocksGUI to EditChallengesGUI.
This commit is contained in:
parent
a90f29e472
commit
8143059e17
@ -525,8 +525,13 @@ public class EditChallengeGUI extends CommonGUI
|
||||
description = values;
|
||||
icon = new ItemStack(Material.CREEPER_HEAD);
|
||||
clickHandler = (panel, user, clickType, slot) -> {
|
||||
// TODO: Entities GUI
|
||||
this.build();
|
||||
new ManageEntitiesGUI(this.addon,
|
||||
this.world,
|
||||
this.user,
|
||||
this.challenge.getRequiredEntities(),
|
||||
this.topLabel,
|
||||
this.permissionPrefix,
|
||||
this).build();
|
||||
|
||||
return true;
|
||||
};
|
||||
@ -569,8 +574,13 @@ public class EditChallengeGUI extends CommonGUI
|
||||
description = values;
|
||||
icon = new ItemStack(Material.STONE);
|
||||
clickHandler = (panel, user, clickType, slot) -> {
|
||||
// TODO: Block GUI
|
||||
this.build();
|
||||
new ManageBlocksGUI(this.addon,
|
||||
this.world,
|
||||
this.user,
|
||||
this.challenge.getRequiredBlocks(),
|
||||
this.topLabel,
|
||||
this.permissionPrefix,
|
||||
this).build();
|
||||
|
||||
return true;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user