Merge pull request #32 from mung3r/master

fixed bug reported by INemesisI with transposed player/group
This commit is contained in:
mung3r 2011-12-11 16:36:44 -08:00
commit e098183c02
1 changed files with 2 additions and 2 deletions

View File

@ -188,7 +188,7 @@ public class Permission_PermissionsBukkit extends Permission {
if (world != null) {
throw new UnsupportedOperationException(getName() + " does not support world based groups.");
}
return plugin.getServer().dispatchCommand(ccs, "permissions player addgroup " + group + " " + player);
return plugin.getServer().dispatchCommand(ccs, "permissions player addgroup " + player + " " + group);
}
@Override
@ -196,7 +196,7 @@ public class Permission_PermissionsBukkit extends Permission {
if (world != null) {
throw new UnsupportedOperationException(getName() + " does not support world based groups.");
}
return plugin.getServer().dispatchCommand(ccs, "permissions player removegroup " + group + " " + player);
return plugin.getServer().dispatchCommand(ccs, "permissions player removegroup " + player + " " + group);
}
@Override