Improve compatibility with some economy plugins (hopefully) #385

This commit is contained in:
BuildTools
2016-01-24 20:07:09 +01:00
committed by Olof Larsson
parent 6bc16d25b1
commit f77750fc91
6 changed files with 42 additions and 36 deletions

View File

@@ -77,7 +77,7 @@ public class EngineWorldGuard extends EngineAbstract
// Permanent Factions should not apply this rule
if (event.getNewFaction().getFlag(MFlag.ID_PERMANENT)) return;
MPlayer mplayer = event.getMSender();
MPlayer mplayer = event.getMPlayer();
if ( ! MConf.get().worldguardCheckWorldsEnabled.contains(mplayer.getPlayer())) return;