mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-07-05 08:30:04 +00:00
Fixing wrong syntax
This commit is contained in:
parent
5896b2eba4
commit
4b07928994
|
@ -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.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user