Fixing up whitespace

This commit is contained in:
skeight 2012-02-10 11:29:48 -08:00
parent 2eea5c7bf7
commit ed69684843

View File

@ -285,7 +285,7 @@ public void onPlayerMove(PlayerMoveEvent event) {
|| event.getFrom().getBlockZ() != event.getTo().getBlockZ()) { || event.getFrom().getBlockZ() != event.getTo().getBlockZ()) {
PlayerFlagState state = plugin.getFlagStateManager().getState(player); PlayerFlagState state = plugin.getFlagStateManager().getState(player);
LocalPlayer localPlayer = plugin.wrapPlayer(player); LocalPlayer localPlayer = plugin.wrapPlayer(player);
boolean hasBypass = plugin.getGlobalRegionManager().hasBypass(player, world); boolean hasBypass = plugin.getGlobalRegionManager().hasBypass(player, world);
RegionManager mgr = plugin.getGlobalRegionManager().get(world); RegionManager mgr = plugin.getGlobalRegionManager().get(world);
@ -304,10 +304,10 @@ public void onPlayerMove(PlayerMoveEvent event) {
return; return;
} }
//Fix for bug #728 //Flush states in multiworld scenario
if (state.lastWorld != null && !state.lastWorld.equals(world)) { if (state.lastWorld != null && !state.lastWorld.equals(world)) {
plugin.getFlagStateManager().forget(player); plugin.getFlagStateManager().forget(player);
return; return;
} }
// Have to set this state // Have to set this state