mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-12-21 16:47:39 +01:00
Fixed invalid Flag ID in ANIMAL_SPAWN's clicklistener
This commit is contained in:
parent
451756bc81
commit
59e58e8592
@ -31,7 +31,6 @@ public class IslandToggleClickListener implements ClickHandler {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see us.tastybento.bskyblock.api.panels.PanelItem.ClickHandler#onClick(us.tastybento.bskyblock.api.panels.Panel, us.tastybento.bskyblock.api.user.User, org.bukkit.event.inventory.ClickType, int)
|
||||
*/
|
||||
|
@ -152,7 +152,7 @@ public class Flags {
|
||||
|
||||
// Others
|
||||
public static final Flag ANIMAL_SPAWN = new FlagBuilder().id("ANIMAL_SPAWN").icon(Material.APPLE).allowedByDefault(true).type(Type.SETTING)
|
||||
.listener(new MobSpawnListener()).onClick(new IslandToggleClickListener("MONSTER_SPAWN")).build();
|
||||
.listener(new MobSpawnListener()).onClick(new IslandToggleClickListener("ANIMAL_SPAWN")).build();
|
||||
public static final Flag MONSTER_SPAWN = new FlagBuilder().id("MONSTER_SPAWN").icon(Material.MOB_SPAWNER).allowedByDefault(true).type(Type.SETTING)
|
||||
.onClick(new IslandToggleClickListener("MONSTER_SPAWN")).build();
|
||||
public static final Flag FIRE_SPREAD = new FlagBuilder().id("FIRE_SPREAD").icon(Material.FIREWORK_CHARGE).allowedByDefault(true).type(Type.SETTING)
|
||||
|
Loading…
Reference in New Issue
Block a user