mirror of
https://github.com/MilkBowl/Vault.git
synced 2024-11-26 20:45:36 +01:00
fixed bug reported by INemesisI with transposed player/group
This commit is contained in:
parent
2cea48b6fe
commit
844b3cfec0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user