Merge pull request #2 from Harry5573OP/patch-1

Fix getting the wrong faction from player
This commit is contained in:
drtshock 2014-04-16 14:11:03 -05:00
commit 751c2037e4

View File

@ -134,7 +134,7 @@ public class FactionsBlockListener implements Listener {
String name = player.getName();
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;
FLocation loc = new FLocation(location);