mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-05 04:16:06 +00:00
Merge branch 'breaking' of https://github.com/IntellectualSites/FastAsyncWorldEdit-1.13 into breaking
This commit is contained in:
commit
afda4c271c
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user