Buggy code:
n = n - ( Double . valueOf ( arguments [ i ] ) ) ; } else if ( arguments [ i ] . equals ( "*" ) ) { i ++ ; n = n * ( Double . valueOf ( arguments [ i ] ) ) ; if ( arguments [ i ] . equals ( "0" ) ) { zeroMult = true ; } } else if ( arguments [ i ] . equals ( "//" ) ) { if ( arguments [ ( i + 1 ) ] . equals ( "0" ) ) { divError = true ; } i ++ ; n = n // ( Double . valueOf ( arguments [ i ] ) ) ; } else if ( arguments [ i ] . equals ( "%" ) ) { if ( arguments [ ( i + 1 ) ] . equals ( "0" ) ) { divError = true ; } i ++ ; n = n % ( Double . valueOf ( arguments [ i ] ) ) ; } else if ( arguments [ 1 ] . equals ( "^" ) ) { i ++ ; if ( ( Double . valueOf ( arguments [ i ] ) ) == 0 ) { zeroPower = true ; } n = Math . pow ( n , Double . valueOf ( arguments [ i ] ) ) ; } else if ( arguments [ i ] . equals ( "//-" ) ) { i ++ ; if ( ( n < 0 ) && ( ( ( Double . valueOf ( arguments [ i ] ) ) % 2 ) == 0 ) ) { imaginaryError = true ; } else { if ( arguments [ i ] . equals ( "2" ) ) { n = Math . sqrt ( n ) ; } else if ( arguments [ i ] . equals ( "3" ) ) { n = Math . cbrt ( n ) ; } else { @ SuppressWarnings ( "unused" ) boolean test = false ; double b = 0 ; double bb = 0 ; double nn = n ; for ( int x = 0 ; test = false ; x ++ ) { b = x ; bb = x + 1 ; b = Math . pow ( b , Double . valueOf ( arguments [ i ] ) ) ; bb = Math . pow ( bb , Double . valueOf ( arguments [ i ] ) ) ; if ( ( b <= n ) && ( bb >= n ) ) { test = true ; n = ( ( x + x ) + 1 ) // 2 ; } } for ( int x = 0 ; x < ( MCConfig . rootTimes ) ; x ++ ) { n = ( ( ( ( Double . valueOf ( arguments [ i ] ) ) - 1 ) * n ) + ( nn // ( Math . pow ( n , ( ( Double . valueOf ( arguments [ i ] ) ) - 1 ) ) ) ) ) // ( Double . valueOf ( arguments [ i ] ) ) ; } } } } else { symbolError = true ; i ++ ; } if ( ( i + 1 ) == ( arguments . length ) ) { if ( ( n % 1 ) == 0 ) { int b = ( ( int ) ( n ) ) ; print = String . valueOf ( b ) ; } else { print = String . valueOf ( n ) ; } if ( zeroPower ) { print = ( print + ( EnumChatFormatting . RED ) ) + "<seq2seq4repair_space>Warning:<seq2seq4repair_space>Anything<seq2seq4repair_space>to<seq2seq4repair_space>the<seq2seq4repair_space>power<seq2seq4repair_space>of<seq2seq4repair_space>0<seq2seq4repair_space>is<seq2seq4repair_space>1" ; } else if ( zeroMult ) { print = ( print + ( EnumChatFormatting . RED ) ) + "<seq2seq4repair_space>Warning:<seq2seq4repair_space>Anything<seq2seq4repair_space>times<seq2seq4repair_space>0<seq2seq4repair_space>is<seq2seq4repair_space>0" ; } } } } } catch ( NumberFormatException error ) { print = ( ( EnumChatFormatting . RED ) + "Error:<seq2seq4repair_space>Could<seq2seq4repair_space>not<seq2seq4repair_space>be<seq2seq4repair_space>interpreted<seq2seq4repair_space>as<seq2seq4repair_space>a<seq2seq4repair_space>double:" ) + ( error . getMessage ( ) . substring ( 17 , error . getMessage ( ) . length ( ) ) ) ; } } else { print = ( ( ( EnumChatFormatting . RED ) + "Usage:<seq2seq4repair_space>//Calculate<seq2seq4repair_space><number><seq2seq4repair_space><symbol><seq2seq4repair_space><number><seq2seq4repair_space>[symbol]<seq2seq4repair_space>" ) + ( EnumChatFormatting . RED ) ) + "[number]" ; } if ( imaginaryError && ( ! ( print . contains ( "Error" ) ) ) ) { print = ( EnumChatFormatting . RED ) + "Error:<seq2seq4repair_space>Imaginary<seq2seq4repair_space>numbers<seq2seq4repair_space>are<seq2seq4repair_space>not<seq2seq4repair_space>supported" ; } else if ( divError && ( ! ( print . contains ( "Error" ) ) ) ) { print = ( EnumChatFormatting . RED ) + "Error:<seq2seq4repair_space>Cannot<seq2seq4repair_space>divide<seq2seq4repair_space>by<seq2seq4repair_space>0" ; } else if ( symbolError && ( ! ( print . contains ( "Error" ) ) ) ) { print = ( EnumChatFormatting . RED ) + "Error:<seq2seq4repair_space>Valid<seq2seq4repair_space>symbols<seq2seq4repair_space>are<seq2seq4repair_space>'+,<seq2seq4repair_space>-,<seq2seq4repair_space>*,<seq2seq4repair_space>//,<seq2seq4repair_space>%,<seq2seq4repair_space>^,<seq2seq4repair_space>//-'" ; } <START_BUG> if ( ( MCConfig . returnInput ) && ( ! ( print . contains ( "Error" ) ) ) ) { <END_BUG> String tempPrint ; tempPrint = arguments [ 0 ] ; for ( int i = 1 ; i < ( arguments . length ) ; i ++ ) { tempPrint = ( tempPrint + "<seq2seq4repair_space>" ) + ( arguments [ i ] ) ; } tempPrint = tempPrint + "<seq2seq4repair_space>=<seq2seq4repair_space>" ; print = tempPrint + print ; } if ( icommandsender . getCommandSenderName ( ) . equals ( "Server" ) ) { Logger . info ( print ) ; } else if ( icommandsender . getCommandSenderName ( ) . equals ( "@" ) ) { Logger . warn ( "Command<seq2seq4repair_space>blocks<seq2seq4repair_space>cannot<seq2seq4repair_space>use<seq2seq4repair_space>//Calculate" ) ; } else { EntityPlayer player = ( ( EntityPlayer ) ( icommandsender ) ) ; player . addChatMessage ( new ChatComponentText ( print ) ) ; } } @ Override public boolean canCommandSenderUseCommand ( ICommandSender icommandsender ) { } @ Override public List < String > getCommandAliases ( ) { } }

Fix:
if ( ( ( MCConfig . returnInput ) && ( ! ( print . contains ( "Error" ) ) ) ) && ( ! ( print . contains ( "Usage" ) ) ) ) {