Updated Flags#CREEPER_GRIEFING javadoc

This commit is contained in:
Florian CUNY 2019-02-03 10:31:37 +01:00
parent b4bd6c4e2c
commit d31be375da

View File

@ -256,10 +256,10 @@ public final class Flags {
public static final Flag CREEPER_DAMAGE = new Flag.Builder("CREEPER_DAMAGE", Material.GREEN_SHULKER_BOX).listener(new CreeperListener()).type(Type.WORLD_SETTING) public static final Flag CREEPER_DAMAGE = new Flag.Builder("CREEPER_DAMAGE", Material.GREEN_SHULKER_BOX).listener(new CreeperListener()).type(Type.WORLD_SETTING)
.defaultSetting(true).build(); .defaultSetting(true).build();
/** /**
* Prevents creeper griefing. This is where a visitor will trigger a creeper to blow up an island. * Prevents visitors from triggering a creeper to blow up an island.
* @see CreeperListener
*/ */
public static final Flag CREEPER_GRIEFING = new Flag.Builder("CREEPER_GRIEFING", Material.CREEPER_HEAD).type(Type.WORLD_SETTING) public static final Flag CREEPER_GRIEFING = new Flag.Builder("CREEPER_GRIEFING", Material.CREEPER_HEAD).type(Type.WORLD_SETTING).build();
.build();
public static final Flag COMMAND_RANKS = new Flag.Builder("COMMAND_RANKS", Material.PLAYER_HEAD).type(Type.WORLD_SETTING) public static final Flag COMMAND_RANKS = new Flag.Builder("COMMAND_RANKS", Material.PLAYER_HEAD).type(Type.WORLD_SETTING)
.clickHandler(new CommandRankClickListener()).usePanel(true).build(); .clickHandler(new CommandRankClickListener()).usePanel(true).build();