mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-11-04 03:03:43 +01:00 
			
		
		
		
	Fixes #1062
This commit is contained in:
		@@ -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);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -167,11 +167,11 @@ public class Settings {
 | 
			
		||||
        /**
 | 
			
		||||
         * SQLite enabled?
 | 
			
		||||
         */
 | 
			
		||||
        public static boolean USE_SQLITE = false;
 | 
			
		||||
        public static boolean USE_SQLITE = true;
 | 
			
		||||
        /**
 | 
			
		||||
         * MySQL Enabled?
 | 
			
		||||
         */
 | 
			
		||||
        public static boolean USE_MYSQL = true; /* NOTE: Fixed connector */
 | 
			
		||||
        public static boolean USE_MYSQL = false; /* NOTE: Fixed connector */
 | 
			
		||||
        /**
 | 
			
		||||
         * SQLite Database name
 | 
			
		||||
         */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user