Fixing wrong syntax

Dieser Commit ist enthalten in:
NotMyFault 2018-10-04 20:20:05 +02:00
Ursprung 5896b2eba4
Commit 4b07928994

Datei anzeigen

@ -264,7 +264,7 @@ public class OptionsCommands {
ItemType type = ItemTypes.get(query); ItemType type = ItemTypes.get(query);
if (type != null) { if (type != null) {
actor.print(BBC.getPrefix() + "#" + type.getId() + " (" + type.getName() + ")"); actor.print(BBC.getPrefix() + type.getId() + " (" + type.getName() + ")");
} else { } else {
if (query.length() <= 2) { if (query.length() <= 2) {
actor.printError("Enter a longer search string (len > 2)."); actor.printError("Enter a longer search string (len > 2).");
@ -308,7 +308,7 @@ public class OptionsCommands {
} }
if (found == 0) { if (found == 0) {
actor.printError("No items found."); actor.printError("No item found.");
} }
} }
} }