Change config option name
This commit is contained in:
parent
cb0b871ea2
commit
821cdef976
@ -168,7 +168,7 @@ public class Chairs extends JavaPlugin {
|
|||||||
msgReloaded = ChatColor.translateAlternateColorCodes('&',getConfig().getString("messages.reloaded"));
|
msgReloaded = ChatColor.translateAlternateColorCodes('&',getConfig().getString("messages.reloaded"));
|
||||||
|
|
||||||
allowedBlocks = new ArrayList<ChairBlock>();
|
allowedBlocks = new ArrayList<ChairBlock>();
|
||||||
for (String s : getConfig().getStringList("allowed-blocks")) {
|
for (String s : getConfig().getStringList("sit-block-settings")) {
|
||||||
String type;
|
String type;
|
||||||
double sh = 0.7;
|
double sh = 0.7;
|
||||||
String tmp[] = s.split("[:]");
|
String tmp[] = s.split("[:]");
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
# per-item-perms: Enable chairs.sit.[item] permission node. Set to false if you're sitting on every block.
|
# per-item-perms: Enable chairs.sit.[item] permission node. Set to false if you're sitting on every block.
|
||||||
# ignore-if-item-in-hand: Set this true disable sititng if player is holding an item in hand.
|
# ignore-if-item-in-hand: Set this true disable sititng if player is holding an item in hand.
|
||||||
# ------
|
# ------
|
||||||
allowed-blocks:
|
block-settings:
|
||||||
- WOOD_STAIRS:0.7
|
- WOOD_STAIRS:0.7
|
||||||
- SPRUCE_WOOD_STAIRS:0.7
|
- SPRUCE_WOOD_STAIRS:0.7
|
||||||
- JUNGLE_WOOD_STAIRS:0.7
|
- JUNGLE_WOOD_STAIRS:0.7
|
||||||
|
Loading…
Reference in New Issue
Block a user