fixed problems with last commit for bPerms2 update

This commit is contained in:
mung3r 2013-01-03 12:15:31 -08:00
parent b2dbf74d78
commit 95f105a2e7
3 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

@ -29,7 +29,7 @@ import org.bukkit.event.server.PluginEnableEvent;
import org.bukkit.plugin.Plugin; import org.bukkit.plugin.Plugin;
import de.bananaco.bpermissions.api.ApiLayer; 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 { public class Chat_bPermissions2 extends Chat {
private static final Logger log = Logger.getLogger("Minecraft"); private static final Logger log = Logger.getLogger("Minecraft");

View File

@ -121,7 +121,7 @@ public class Permission_bPermissions2 extends Permission {
@Override @Override
public boolean playerAdd(String world, String player, String permission) { 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; return true;
} }
@ -140,7 +140,7 @@ public class Permission_bPermissions2 extends Permission {
@Override @Override
public boolean groupAdd(String world, String group, String permission) { 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; return true;
} }