ChanceSD / PvPManager

String concatenation using + within loops is costly and should be replaced by a StringBuffer/StringBuilder JAVA-P1006
Performance
Major
2 months ago6 months old
231		for (int i = 0; i < givenCommand.length; i++) {
232			String args = givenCommand[0];
233			for (int j = 1; j <= i; j++) {
234				args += " " + givenCommand[j];235			}
236			if (list.contains(args.toLowerCase())) {
237				contains = true;