mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-27 21:27:44 +01:00
Improved javadoc and locale description for LIQUIDS_FLOWING_OUT
This commit is contained in:
parent
93deee7c13
commit
ca2bb18a56
@ -273,7 +273,10 @@ public final class Flags {
|
|||||||
.listener(new ObsidianScoopingListener()).defaultSetting(true).build();
|
.listener(new ObsidianScoopingListener()).defaultSetting(true).build();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Prevents liquids from flowing outside the protection range, in order to avoid cobblestone/stone/obsidian being generated and remaining unbreakable by players.
|
* Toggles whether liquids can flow outside an island's protection range or not.
|
||||||
|
* It is disabled by default in order to avoid cobblestone/stone/obsidian being generated outside an island's protection range and remaining unbreakable by players.
|
||||||
|
* Liquids will still flow vertically, however they won't spread horizontally if they're placed outside an island's protection range.
|
||||||
|
*
|
||||||
* @since 1.3.0
|
* @since 1.3.0
|
||||||
* @see LiquidsFlowingOutListener
|
* @see LiquidsFlowingOutListener
|
||||||
*/
|
*/
|
||||||
|
@ -25,7 +25,9 @@ public class FlagsManager {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Stores the flag listeners that have already been registered into Bukkit's API to avoid duplicates.
|
* Stores the flag listeners that have already been registered into Bukkit's API to avoid duplicates.
|
||||||
* Value is true if the listener has been registered already
|
* Value is true if the listener has been registered already.
|
||||||
|
* This helps to make sure each flag listener is loaded correctly.
|
||||||
|
* @see #registerListeners()
|
||||||
*/
|
*/
|
||||||
private Map<@NonNull Listener, @NonNull Boolean> registeredListeners = new HashMap<>();
|
private Map<@NonNull Listener, @NonNull Boolean> registeredListeners = new HashMap<>();
|
||||||
|
|
||||||
|
@ -661,6 +661,11 @@ protection:
|
|||||||
&aDisabling it helps avoiding lava and water
|
&aDisabling it helps avoiding lava and water
|
||||||
&agenerating cobblestone in the area between
|
&agenerating cobblestone in the area between
|
||||||
&atwo islands.
|
&atwo islands.
|
||||||
|
|
||||||
|
&cNote that liquids will still flow vertically.
|
||||||
|
&cThey will also not spread horizontally if
|
||||||
|
&cthey are placed outside an island's
|
||||||
|
&cprotection range.
|
||||||
LOCK:
|
LOCK:
|
||||||
description: "Toggle lock"
|
description: "Toggle lock"
|
||||||
name: "Lock island"
|
name: "Lock island"
|
||||||
|
Loading…
Reference in New Issue
Block a user