mirror of
https://github.com/MassiveCraft/Factions.git
synced 2024-11-29 05:36:28 +01:00
Minor Tweaks to Previous Commit.
This commit is contained in:
parent
83767dc275
commit
8eac170550
@ -50,8 +50,7 @@ public class TaskPlayerPowerUpdate extends ModuloRepeatTask
|
|||||||
if (player.isDead()) continue;
|
if (player.isDead()) continue;
|
||||||
|
|
||||||
// Check the powergain flag is not disabled
|
// Check the powergain flag is not disabled
|
||||||
Faction faction = BoardColl.get().getFactionAt(PS.valueOf(player.getLocation()));
|
Faction faction = BoardColl.get().getFactionAt(PS.valueOf(player));
|
||||||
|
|
||||||
if ( ! faction.getFlag(MFlag.getFlagPowergain())) return;
|
if ( ! faction.getFlag(MFlag.getFlagPowergain())) return;
|
||||||
|
|
||||||
// Check power gain has not been disabled in this world
|
// Check power gain has not been disabled in this world
|
||||||
|
Loading…
Reference in New Issue
Block a user