Permalink
Browse files

Fixed chairs in walls

  • Loading branch information...
me4502 committed Nov 26, 2017
1 parent c27d27c commit ca8fc8e95b744809cf1c5ee83a720f9889239215
@@ -128,7 +128,8 @@ public void onDisable() {
@Override
public boolean isValid(Location<World> location) {
return BlockUtil.doesStatePassFilters(allowedBlocks.getValue(), location.getBlock()) &&
(location.getBlockY() == 0 || !location.getRelative(Direction.DOWN).getBlockType().equals(BlockTypes.AIR));
(location.getBlockY() == 0 || !location.getRelative(Direction.DOWN).getBlockType().equals(BlockTypes.AIR)) &&
location.getRelative(Direction.UP).getBlockType().equals(BlockTypes.AIR);
}
private boolean hasSign(Location<World> location, List<Location<World>> searched, Location<World> original) {

0 comments on commit ca8fc8e

Please sign in to comment.