diff --git a/src/com/cnaude/chairs/Chairs.java b/src/com/cnaude/chairs/Chairs.java index 2bd98ee..222e57d 100644 --- a/src/com/cnaude/chairs/Chairs.java +++ b/src/com/cnaude/chairs/Chairs.java @@ -168,7 +168,7 @@ public class Chairs extends JavaPlugin { msgReloaded = ChatColor.translateAlternateColorCodes('&',getConfig().getString("messages.reloaded")); allowedBlocks = new ArrayList(); - for (String s : getConfig().getStringList("allowed-blocks")) { + for (String s : getConfig().getStringList("sit-block-settings")) { String type; double sh = 0.7; String tmp[] = s.split("[:]"); diff --git a/src/config.yml b/src/config.yml index 866d1ac..d20223f 100644 --- a/src/config.yml +++ b/src/config.yml @@ -15,7 +15,7 @@ # 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. # ------ -allowed-blocks: +block-settings: - WOOD_STAIRS:0.7 - SPRUCE_WOOD_STAIRS:0.7 - JUNGLE_WOOD_STAIRS:0.7