mirror of
https://github.com/MilkBowl/Vault.git
synced 2024-11-10 21:01:03 +01:00
fixed problems with last commit for bPerms2 update
This commit is contained in:
parent
b2dbf74d78
commit
95f105a2e7
Binary file not shown.
@ -29,7 +29,7 @@ import org.bukkit.event.server.PluginEnableEvent;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
|
||||
import de.bananaco.bpermissions.api.ApiLayer;
|
||||
import de.bananaco.bpermissions.api.util.CalculableType;
|
||||
import de.bananaco.bpermissions.api.CalculableType;
|
||||
|
||||
public class Chat_bPermissions2 extends Chat {
|
||||
private static final Logger log = Logger.getLogger("Minecraft");
|
||||
|
@ -121,7 +121,7 @@ public class Permission_bPermissions2 extends Permission {
|
||||
|
||||
@Override
|
||||
public boolean playerAdd(String world, String player, String permission) {
|
||||
ApiLayer.addPermission(world, CalculableType.USER, player, de.bananaco.bpermissions.api.util.Permission.loadFromString(permission));
|
||||
ApiLayer.addPermission(world, CalculableType.USER, player, de.bananaco.bpermissions.api.Permission.loadFromString(permission));
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -140,7 +140,7 @@ public class Permission_bPermissions2 extends Permission {
|
||||
|
||||
@Override
|
||||
public boolean groupAdd(String world, String group, String permission) {
|
||||
ApiLayer.addPermission(world, CalculableType.GROUP, group, de.bananaco.bpermissions.api.util.Permission.loadFromString(permission));
|
||||
ApiLayer.addPermission(world, CalculableType.GROUP, group, de.bananaco.bpermissions.api.Permission.loadFromString(permission));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user