fix P3 player has permission check.

This commit is contained in:
Sleaker 2012-02-05 01:12:47 -08:00
parent 171c8c9ad3
commit 4e93a060e6

View File

@ -122,6 +122,10 @@ public class Permission_Permissions3 extends Permission {
}
@Override
public boolean has(Player player, String permission) {
return has(player.getWorld().getName(), player.getName(), permission);
}
public boolean playerAddGroup(String worldName, String playerName, String groupName) {
if (worldName == null)
worldName = "*";