Fix sit allowed check

This commit is contained in:
Shevchik 2013-09-04 16:04:23 +04:00
parent 0f02344bba
commit 99559b0540
2 changed files with 3 additions and 2 deletions

View File

@ -234,10 +234,11 @@ public class EventListener implements Listener {
player.sendMessage(plugin.msgOccupied.replaceAll("%PLAYER%", plugin.sitblock.get(block))); player.sendMessage(plugin.msgOccupied.replaceAll("%PLAYER%", plugin.sitblock.get(block)));
} }
return false; return false;
}
} }
return true; return true;
}
return false;
} }
private Location getSitLocation(Block block, Float playerYaw) private Location getSitLocation(Block block, Float playerYaw)

Binary file not shown.