mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 21:26:45 +01:00
Fixes #1062
This commit is contained in:
parent
9b22f38ff0
commit
d3dd88eb8d
@ -75,4 +75,13 @@ public class BukkitEconHandler extends EconHandler {
|
|||||||
public double getBalance(PlotPlayer player) {
|
public double getBalance(PlotPlayer player) {
|
||||||
return this.econ.getBalance(player.getName());
|
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);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -167,11 +167,11 @@ public class Settings {
|
|||||||
/**
|
/**
|
||||||
* SQLite enabled?
|
* SQLite enabled?
|
||||||
*/
|
*/
|
||||||
public static boolean USE_SQLITE = false;
|
public static boolean USE_SQLITE = true;
|
||||||
/**
|
/**
|
||||||
* MySQL Enabled?
|
* MySQL Enabled?
|
||||||
*/
|
*/
|
||||||
public static boolean USE_MYSQL = true; /* NOTE: Fixed connector */
|
public static boolean USE_MYSQL = false; /* NOTE: Fixed connector */
|
||||||
/**
|
/**
|
||||||
* SQLite Database name
|
* SQLite Database name
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user