Buggy code:
public class ExpSkills extends JavaPlugin { protected static Server server ; protected static ExpSkills plugin ; protected static FileConfiguration config ; protected static YamlConfiguration skilltree ; protected static YamlConfiguration lang ; protected static final Logger log = Logger . getLogger ( "Minecraft" ) ; public final ServerEntityListener entityListener = new ServerEntityListener ( this ) ; public final ServerPlayerListener playerListener = new ServerPlayerListener ( this ) ; private CommandManager command = new CommandManager ( this ) ; public final PermissionsSystem permSys = new PermissionsSystem ( ) ; protected static Method method ; protected static Economy economy = null ; public void onEnable ( ) { PluginDescriptionFile pdffile = getDescription ( ) ; ExpSkills . server = getServer ( ) ; ExpSkills . config = getConfig ( ) ; String configversion = ExpSkills . config . getString ( "version" ) ; String version = pdffile . getVersion ( ) ; if ( configversion . equalsIgnoreCase ( version ) ) { if ( configversion . equals ( "0.7.0_RC2" ) ) { ExpSkills . config . addDefault ( "general.updatetime" , 6000 ) ; } else if ( configversion . equals ( "0.6.4" ) ) { ExpSkills . config . addDefault ( "general.formula" , 0 ) ; ExpSkills . config . addDefault ( "general.formula_a" , 0 ) ; ExpSkills . config . addDefault ( "general.formula_b" , 0 ) ; ExpSkills . config . addDefault ( "general.formula_c" , 0 ) ; ExpSkills . config . addDefault ( "general.formula_d" , 0 ) ; ExpSkills . config . addDefault ( "general.formula_e" , 0 ) ; ExpSkills . config . addDefault ( "general.skill_cap" , 0 ) ; ExpSkills . config . addDefault ( "general.updatetime" , 6000 ) ; } } ExpSkills . config . addDefault ( "version" , pdffile . getVersion ( ) ) ; ExpSkills . config . set ( "version" , pdffile . getVersion ( ) ) ; ExpSkills . config . options ( ) . copyDefaults ( true ) ; saveConfig ( ) ; File langfile = new File ( ( ( ( this . getDataFolder ( ) ) + ( File . separator ) ) + "lang.yml" ) ) ; if ( ! ( langfile . exists ( ) ) ) { ExpSkills . lang = YamlConfiguration . loadConfiguration ( getResource ( "lang.yml" ) ) ; try { ExpSkills . lang . save ( langfile ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; } } else ExpSkills . lang = YamlConfiguration . loadConfiguration ( langfile ) ; if ( ( ExpSkills . config . getBoolean ( "general.use_skilltree" , false ) ) == true ) ExpSkills . skilltree = FileManager . loadSkilltree ( ) ; long delay = ExpSkills . config . getLong ( "general.updatetime" , 6000 ) ; ExpSkills . server . getScheduler ( ) . scheduleAsyncRepeatingTask ( this , new Runnable ( ) { public void run ( ) { RentingManager . update ( ) ; } } , 0 , delay ) ; getCommand ( "exp" ) . setExecutor ( command ) ; PluginManager pm = getServer ( ) . getPluginManager ( ) ; pm . registerEvents ( playerListener , this ) ; pm . registerEvents ( entityListener , this ) ; permSys . start ( ) ; if ( ExpSkills . config . getBoolean ( "general.use_economy" , false ) ) { if ( ( ExpSkills . server . getPluginManager ( ) . getPlugin ( "Vault" ) ) != null ) { RegisteredServiceProvider < Economy > economyProvider = getServer ( ) . getServicesManager ( ) . getRegistration ( Economy . class ) ; if ( economyProvider != null ) { ExpSkills . economy = economyProvider . getProvider ( ) ; ExpSkills . log . info ( ( ( "[ExpSkills]<seq2seq4repair_space>" + ( ExpSkills . economy . getName ( ) ) ) + "<seq2seq4repair_space>hooked" ) ) ; } <START_BUG> } <END_BUG> if ( ( ExpSkills . server . getPluginManager ( ) . getPlugin ( "Register" ) ) != null ) { this . getServer ( ) . getScheduler ( ) . scheduleSyncDelayedTask ( this , new Runnable ( ) { public void run ( ) { boolean a = Methods . setMethod ( getServer ( ) . getPluginManager ( ) ) ; if ( a ) { ExpSkills . method = Methods . getMethod ( ) ; ExpSkills . log . info ( ( ( "[ExpSkills]<seq2seq4repair_space>" + ( ExpSkills . method . getName ( ) ) ) + "<seq2seq4repair_space>hooked" ) ) ; } else ExpSkills . log . severe ( "[ExpSkills]<seq2seq4repair_space>Hooking<seq2seq4repair_space>Economy<seq2seq4repair_space>Failed" ) ; } } , 0L ) ; } } ExpSkills . log . info ( ( ( ( ( "[ExpSkills]<seq2seq4repair_space>" + ( pdffile . getName ( ) ) ) + "<seq2seq4repair_space>" ) + ( pdffile . getVersion ( ) ) ) + "<seq2seq4repair_space>enabled" ) ) ; } public void onDisable ( ) { } }

Fix:
} else