mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-18 01:46:11 +00:00
Java on TC doesn't compile this code for some reason.
This commit is contained in:
parent
495b9d07b5
commit
844971bca6
@ -143,8 +143,7 @@ public class BlockTransformExtent extends AbstractDelegateExtent {
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user