Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-08 04:20:06 +01:00
Use parse for search item
Dieser Commit ist enthalten in:
Ursprung
c55353e5b1
Commit
f161c69a66
@ -163,7 +163,7 @@ public class GeneralCommands {
|
|||||||
boolean blocksOnly = args.hasFlag('b');
|
boolean blocksOnly = args.hasFlag('b');
|
||||||
boolean itemsOnly = args.hasFlag('i');
|
boolean itemsOnly = args.hasFlag('i');
|
||||||
|
|
||||||
ItemType type = ItemTypes.get(query);
|
ItemType type = ItemTypes.parse(query);
|
||||||
|
|
||||||
if (type != null) {
|
if (type != null) {
|
||||||
actor.print(type.getId() + " (" + type.getName() + ")");
|
actor.print(type.getId() + " (" + type.getName() + ")");
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren