Fixed a few things

This commit is contained in:
Treeku
2014-04-07 04:21:32 +01:00
parent 2fcc4dd24b
commit 7558d65f3a
+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);