3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-24 18:10:08 +01:00
Dieser Commit ist enthalten in:
Jesse Boyd 2019-04-14 00:51:53 +10:00
Commit afda4c271c
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 59F1DE6293AF6E1F
2 geänderte Dateien mit 4 neuen und 4 gelöschten Zeilen

Datei anzeigen

@ -253,7 +253,7 @@ public class GeneralCommands {
int found = 0;
for (ItemType searchType : ItemTypes.values()) {
for (ItemType searchType : ItemType.REGISTRY) {
if (found >= 15) {
actor.print(BBC.getPrefix() + "Too many results!");
break;
@ -269,7 +269,7 @@ public class GeneralCommands {
for (String alias : Sets.newHashSet(searchType.getId(), searchType.getName())) {
if (alias.contains(query)) {
actor.print(searchType.getId() + " (" + searchType.getName() + ")");
actor.print(BBC.getPrefix() + searchType.getId() + " (" + searchType.getName() + ")");
++found;
break;
}

Datei anzeigen

@ -284,7 +284,7 @@ public class OptionsCommands {
int found = 0;
for (ItemType searchType : ItemTypes.values()) {
for (ItemType searchType : ItemType.REGISTRY) {
if (found >= 15) {
actor.print(BBC.getPrefix() + "Too many results!");
break;
@ -300,7 +300,7 @@ public class OptionsCommands {
for (String alias : Sets.newHashSet(searchType.getId(), searchType.getName())) {
if (alias.contains(query)) {
actor.print(BBC.getPrefix() + "#" + type.getId() + " (" + type.getName() + ")");
actor.print(BBC.getPrefix() + searchType.getId() + " (" + searchType.getName() + ")");
++found;
break;
}