Buggy code:
public class Commands implements CommandExecutor { private final StopDatRain plugin ; public Commands ( StopDatRain plugin ) { } @ Override public boolean onCommand ( CommandSender sender , Command cmd , String Label , String [ ] args ) { if ( ( cmd . getName ( ) . equalsIgnoreCase ( "StopDatRain" ) ) || ( cmd . getName ( ) . equalsIgnoreCase ( "sdr" ) ) ) { if ( ( args . length ) == 0 ) { if ( sender instanceof Player ) { jsonVersion ( sender , plugin . getConfig ( ) . getString ( "StopDatRain.customization.pluginName" ) ) ; return true ; } else { sender . sendMessage ( ChatColor . translateAlternateColorCodes ( '&' , ( ( plugin . getConfig ( ) . getString ( "StopDatRain.customization.pluginName" ) ) + ( ( "Server<seq2seq4repair_space>is<seq2seq4repair_space>running<seq2seq4repair_space>v" + ( StopDatRain . version ) ) + "<seq2seq4repair_space>-<seq2seq4repair_space>Created<seq2seq4repair_space>by<seq2seq4repair_space>danjono" ) ) ) ) ; return true ; } } if ( ( args . length ) > 1 ) { sender . sendMessage ( ChatColor . translateAlternateColorCodes ( '&' , ( ( plugin . getConfig ( ) . getString ( "StopDatRain.customization.pluginName" ) ) + ( plugin . getConfig ( ) . getString ( "StopDatRain.customization.error" ) ) ) ) ) ; return true ; } if ( args [ 0 ] . equalsIgnoreCase ( "reload" ) ) { if ( ( args . length ) == 1 ) { <START_BUG> if ( sender . hasPermission ( "stopdatrain.enable" ) ) { <END_BUG> plugin . reloadConfig ( ) ; sender . sendMessage ( ChatColor . translateAlternateColorCodes ( '&' , ( ( plugin . getConfig ( ) . getString ( "StopDatRain.customization.pluginName" ) ) + ( plugin . getConfig ( ) . getString ( "StopDatRain.customization.reload" ) ) ) ) ) ; } else sender . sendMessage ( ChatColor . translateAlternateColorCodes ( '&' , ( ( plugin . getConfig ( ) . getString ( "StopDatRain.customization.pluginName" ) ) + ( plugin . getConfig ( ) . getString ( "StopDatRain.customization.permission" ) ) ) ) ) ; } else sender . sendMessage ( ChatColor . translateAlternateColorCodes ( '&' , ( ( plugin . getConfig ( ) . getString ( "StopDatRain.customization.pluginName" ) ) + ( plugin . getConfig ( ) . getString ( "StopDatRain.customization.error" ) ) ) ) ) ; } else if ( args [ 0 ] . equalsIgnoreCase ( "enable" ) ) { if ( ( args . length ) == 1 ) { if ( sender . hasPermission ( "stopdatrain.enable" ) ) { if ( ! ( plugin . getConfig ( ) . getBoolean ( "StopDatRain.enabled" ) ) ) { plugin . getConfig ( ) . set ( "StopDatRain.enabled" , true ) ; plugin . saveConfig ( ) ; plugin . reloadConfig ( ) ; sender . sendMessage ( ChatColor . translateAlternateColorCodes ( '&' , ( ( plugin . getConfig ( ) . getString ( "StopDatRain.customization.pluginName" ) ) + ( plugin . getConfig ( ) . getString ( "StopDatRain.customization.enabled" ) ) ) ) ) ; } else sender . sendMessage ( ChatColor . translateAlternateColorCodes ( '&' , ( ( plugin . getConfig ( ) . getString ( "StopDatRain.customization.pluginName" ) ) + ( plugin . getConfig ( ) . getString ( "StopDatRain.customization.isenabled" ) ) ) ) ) ; } else sender . sendMessage ( ChatColor . translateAlternateColorCodes ( '&' , ( ( plugin . getConfig ( ) . getString ( "StopDatRain.customization.pluginName" ) ) + ( plugin . getConfig ( ) . getString ( "StopDatRain.customization.permission" ) ) ) ) ) ; } else sender . sendMessage ( ChatColor . translateAlternateColorCodes ( '&' , ( ( plugin . getConfig ( ) . getString ( "StopDatRain.customization.pluginName" ) ) + ( plugin . getConfig ( ) . getString ( "StopDatRain.customization.error" ) ) ) ) ) ; } else if ( args [ 0 ] . equalsIgnoreCase ( "disable" ) ) { if ( ( args . length ) == 1 ) { if ( sender . hasPermission ( "stopdatrain.disable" ) ) { if ( plugin . getConfig ( ) . getBoolean ( "StopDatRain.enabled" ) ) { plugin . getConfig ( ) . set ( "StopDatRain.enabled" , false ) ; plugin . saveConfig ( ) ; plugin . reloadConfig ( ) ; sender . sendMessage ( ChatColor . translateAlternateColorCodes ( '&' , ( ( plugin . getConfig ( ) . getString ( "StopDatRain.customization.pluginName" ) ) + ( plugin . getConfig ( ) . getString ( "StopDatRain.customization.disabled" ) ) ) ) ) ; } else sender . sendMessage ( ChatColor . translateAlternateColorCodes ( '&' , ( ( plugin . getConfig ( ) . getString ( "StopDatRain.customization.pluginName" ) ) + ( plugin . getConfig ( ) . getString ( "StopDatRain.customization.isdisabled" ) ) ) ) ) ; } else sender . sendMessage ( ChatColor . translateAlternateColorCodes ( '&' , ( ( plugin . getConfig ( ) . getString ( "StopDatRain.customization.pluginName" ) ) + ( plugin . getConfig ( ) . getString ( "StopDatRain.customization.permission" ) ) ) ) ) ; } else sender . sendMessage ( ChatColor . translateAlternateColorCodes ( '&' , ( ( plugin . getConfig ( ) . getString ( "StopDatRain.customization.pluginName" ) ) + ( plugin . getConfig ( ) . getString ( "StopDatRain.customization.error" ) ) ) ) ) ; } else sender . sendMessage ( ChatColor . translateAlternateColorCodes ( '&' , ( ( plugin . getConfig ( ) . getString ( "StopDatRain.customization.pluginName" ) ) + ( plugin . getConfig ( ) . getString ( "StopDatRain.customization.error" ) ) ) ) ) ; return true ; } return false ; } public void jsonVersion ( CommandSender sender , String plugin ) { } }

Fix:
if ( sender . hasPermission ( "stopdatrain.reload" ) ) {