mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-27 21:15:57 +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()) {
|
||||
|
||||
PlayerFlagState state = plugin.getFlagStateManager().getState(player);
|
||||
LocalPlayer localPlayer = plugin.wrapPlayer(player);
|
||||
LocalPlayer localPlayer = plugin.wrapPlayer(player);
|
||||
boolean hasBypass = plugin.getGlobalRegionManager().hasBypass(player, world);
|
||||
|
||||
RegionManager mgr = plugin.getGlobalRegionManager().get(world);
|
||||
@ -304,10 +304,10 @@ public void onPlayerMove(PlayerMoveEvent event) {
|
||||
return;
|
||||
}
|
||||
|
||||
//Fix for bug #728
|
||||
if (state.lastWorld != null && !state.lastWorld.equals(world)) {
|
||||
plugin.getFlagStateManager().forget(player);
|
||||
return;
|
||||
//Flush states in multiworld scenario
|
||||
if (state.lastWorld != null && !state.lastWorld.equals(world)) {
|
||||
plugin.getFlagStateManager().forget(player);
|
||||
return;
|
||||
}
|
||||
|
||||
// Have to set this state
|
||||
|
Loading…
Reference in New Issue
Block a user