Skip to content

Commit

Permalink
PlayerManager bugfix
Browse files Browse the repository at this point in the history
denyUser was inverted, kicking players who were whitelisted, and
allowing players who weren't.

Fixed.
  • Loading branch information
FerusGrim committed Apr 30, 2014
1 parent f0954b1 commit dd8131e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public void onPlayerLogin(PlayerLoginEvent event) {
switch (plugin.focusOn) {
case "file":
plugin.filem.recordOnLogin(uuid, playerName, playerAddress);
denyUser = plugin.filem.isPlayerWhitelisted(uuid);
denyUser = !plugin.filem.isPlayerWhitelisted(uuid);
break;
}
if (denyUser) {
Expand Down

0 comments on commit dd8131e

Please sign in to comment.