Fixed a few things

This commit is contained in:
Treeku
2014-04-07 18:56:23 +02:00
committed by CharonInferar
parent 8398a2dc56
commit 131841520b
+2 -2
View File
@@ -285,8 +285,8 @@ public class CommandService implements INetworkDispatch {
if (visitor.getObject(i, 0) != null) {
String commandName = ((String) visitor.getObject(i, 0)).toLowerCase();
if (commandName.equalsIgnoreCase(name) {
boolean combatCommand = ((String) (visitor.getObject(i, 7)).length() > 0);
if (commandName.equalsIgnoreCase(name)) {
boolean combatCommand = (((String) (visitor.getObject(i, 7)).length() > 0);
if (combatCommand) {
CombatCommand command = new CombatCommand(commandName);