This commit is contained in:
Jesse Boyd
2016-04-19 15:32:31 +10:00
parent 02d17b363d
commit 1c04b1a0e0
2 changed files with 11 additions and 2 deletions

View File

@@ -75,4 +75,13 @@ public class BukkitEconHandler extends EconHandler {
public double getBalance(PlotPlayer player) {
return this.econ.getBalance(player.getName());
}
public void setPermission(String world, String player, String perm, boolean value) {
if (value) {
this.perms.playerAdd(world, player, perm);
} else {
this.perms.playerRemove(world, player, perm);
}
}
}