Merge pull request #2 from Harry5573OP/patch-1
Fix getting the wrong faction from player
This commit is contained in:
commit
751c2037e4
@ -134,7 +134,7 @@ public class FactionsBlockListener implements Listener {
|
|||||||
String name = player.getName();
|
String name = player.getName();
|
||||||
if (Conf.playersWhoBypassAllProtection.contains(name)) return true;
|
if (Conf.playersWhoBypassAllProtection.contains(name)) return true;
|
||||||
|
|
||||||
FPlayer me = FPlayers.i.get(name);
|
FPlayer me = FPlayers.i.get(player.getUniqueId().toString());
|
||||||
if (me.isAdminBypassing()) return true;
|
if (me.isAdminBypassing()) return true;
|
||||||
|
|
||||||
FLocation loc = new FLocation(location);
|
FLocation loc = new FLocation(location);
|
||||||
|
Loading…
Reference in New Issue
Block a user