Skip to content

Commit

Permalink
Java on TC doesn't compile this code for some reason.
Browse files Browse the repository at this point in the history
  • Loading branch information
me4502 committed Oct 11, 2018
1 parent 495b9d0 commit 844971b
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -143,8 +143,7 @@ private static <T extends BlockStateHolder> T transform(T block, Transform trans
List<String> directionalProperties = properties.stream()
.filter(prop -> prop instanceof BooleanProperty)
.filter(prop -> directionNames.contains(prop.getName()))
.map(prop -> (BooleanProperty) prop)
.filter(block::getState)
.filter(property -> (Boolean) block.getState(property))
.map(Property::getName)
.map(String::toUpperCase)
.map(Direction::valueOf)
Expand Down

0 comments on commit 844971b

Please sign in to comment.