mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-28 05:25:20 +01:00
Fixing up whitespace
This commit is contained in:
parent
2eea5c7bf7
commit
ed69684843
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user