Fixed chair width check.

Fixed chair sign check.
This commit is contained in:
cnaude 2013-03-01 13:11:43 -07:00
parent 358df624e9
commit 268ec403c1

View File

@ -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;