fixed bug reported by INemesisI with transposed player/group

This commit is contained in:
mung3r 2011-12-11 16:35:55 -08:00
parent 2cea48b6fe
commit 844b3cfec0

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