Improve compatibility with some economy plugins (hopefully) #385

This commit is contained in:
BuildTools authored and Olof Larsson committed 2016-01-25 14:23:53 +01:00
1 parent 6bc16d25b1
commit f77750fc91
6 files changed
+42 -36

No files matched your search

@@ -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;