Permalink
Browse files

Added new stair types to chair defaults.

  • Loading branch information...
me4502 committed Feb 5, 2017
1 parent 87e1686 commit d6d72e365ea58f35363e7fd91df41a25fface098
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/main/java/com/sk89q/craftbook/mechanics/Chair.java
@@ -384,7 +384,9 @@ public void loadConfiguration (YAMLProcessor config, String path) {
chairHealAmount = config.getDouble(path + "regen-health-amount", 1);
config.setComment(path + "blocks", "A list of blocks that can be sat on.");
- chairBlocks = ItemInfo.parseListFromString(config.getStringList(path + "blocks", Arrays.asList("WOOD_STAIRS", "COBBLESTONE_STAIRS", "BRICK_STAIRS", "SMOOTH_STAIRS", "NETHER_BRICK_STAIRS", "SANDSTONE_STAIRS", "SPRUCE_WOOD_STAIRS", "BIRCH_WOOD_STAIRS", "JUNGLE_WOOD_STAIRS", "QUARTZ_STAIRS", "ACACIA_STAIRS")));
+ chairBlocks = ItemInfo.parseListFromString(config.getStringList(path + "blocks", Arrays.asList("WOOD_STAIRS", "COBBLESTONE_STAIRS",
+ "BRICK_STAIRS", "SMOOTH_STAIRS", "NETHER_BRICK_STAIRS", "SANDSTONE_STAIRS", "SPRUCE_WOOD_STAIRS", "BIRCH_WOOD_STAIRS",
+ "JUNGLE_WOOD_STAIRS", "QUARTZ_STAIRS", "ACACIA_STAIRS", "DARK_OAK_STAIRS", "PURPUR_STAIRS", "RED_SANDSTONE_STAIRS")));
config.setComment(path + "face-correct-direction", "When the player sits, automatically face them the direction of the chair. (If possible)");
chairFacing = config.getBoolean(path + "face-correct-direction", true);

0 comments on commit d6d72e3

Please sign in to comment.