Skip to content

Commit

Permalink
fix paren placement, fixes 1.12/1.13 compat, fixes #1797
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Aug 6, 2018
1 parent 3de0fda commit be26b42
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -693,10 +693,10 @@ else if ((type == oakTrapDoor
|| type == Material.IRON_TRAPDOOR)
|| (NMSHandler.getVersion().isAtLeast(NMSVersion.v1_13_R1)
&& (type == Material.DARK_OAK_TRAPDOOR
|| type == Material.BIRCH_TRAPDOOR)
|| type == Material.BIRCH_TRAPDOOR
|| type == Material.ACACIA_TRAPDOOR
|| type == Material.JUNGLE_TRAPDOOR
|| type == Material.SPRUCE_TRAPDOOR)) {
|| type == Material.SPRUCE_TRAPDOOR))) {
return new Element((getBlock().getData() & 0x4) > 0).getAttribute(attribute.fulfill(1));
}
else {
Expand Down

0 comments on commit be26b42

Please sign in to comment.