Refactoring

This commit is contained in:
Andrzej Pomirski 2014-04-12 13:28:37 +02:00
parent 786c140ebd
commit b508d08bba
2 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ public class RestrictedSign implements Listener {
Sign sign = (Sign) relative.getState();
if (!BlockUtil.getAttachedFace(sign).equals(currentBlock)) {
if (!BlockUtil.getAttachedBlock(sign).equals(currentBlock)) {
continue;
}

View File

@ -108,6 +108,6 @@ public class uBlock {
}
private static boolean signIsAttachedToBlock(Sign sign, Block block) {
return sign.getBlock().equals(block) || BlockUtil.getAttachedFace(sign).equals(block);
return sign.getBlock().equals(block) || BlockUtil.getAttachedBlock(sign).equals(block);
}
}