Fixed chair width check.
Fixed chair sign check.
This commit is contained in:
parent
358df624e9
commit
268ec403c1
@ -224,9 +224,7 @@ public class EventListener implements Listener {
|
|||||||
} else if (stairs.getDescendingDirection() == BlockFace.EAST || stairs.getDescendingDirection() == BlockFace.WEST) {
|
} else if (stairs.getDescendingDirection() == BlockFace.EAST || stairs.getDescendingDirection() == BlockFace.WEST) {
|
||||||
chairwidth += getChairWidth(block, BlockFace.NORTH);
|
chairwidth += getChairWidth(block, BlockFace.NORTH);
|
||||||
chairwidth += getChairWidth(block, BlockFace.SOUTH);
|
chairwidth += getChairWidth(block, BlockFace.SOUTH);
|
||||||
}
|
}
|
||||||
|
|
||||||
plugin.logInfo("Width:" + chairwidth);
|
|
||||||
|
|
||||||
if (chairwidth > plugin.maxChairWidth) {
|
if (chairwidth > plugin.maxChairWidth) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user