Skip to content

Commit

Permalink
Workaround for Spigot making signs a solid block. Fixes CRAFTBOOK-3382
Browse files Browse the repository at this point in the history
  • Loading branch information
me4502 committed Dec 9, 2018
1 parent 98cb0e1 commit 3d3df2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/sk89q/craftbook/mechanics/Elevator.java
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ private void makeItSo(CraftBookPlayer player, Block destination, BlockFace shift
int foundFree = 0;
boolean foundGround = false;
for (int i = 0; i < 5; i++) {
if (!floor.getType().isSolid()) {
if (!floor.getType().isOccluding()) {
foundFree++;
} else {
foundGround = true;
Expand Down

0 comments on commit 3d3df2b

Please sign in to comment.