Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-05 02:50:05 +01:00
Typo fix and neatify
Dieser Commit ist enthalten in:
Ursprung
a26cf574de
Commit
5896b2eba4
@ -108,7 +108,7 @@ public abstract class BlockState implements BlockStateHolder<BlockState> {
|
||||
type = BlockTypes.get(key);
|
||||
if (type == null) {
|
||||
String input = key.toString();
|
||||
throw new SuggestInputParseException("Unkown block for " + input, input, () -> Stream.of(BlockTypes.values)
|
||||
throw new SuggestInputParseException("Does not match a valid block type: " + input, input, () -> Stream.of(BlockTypes.values)
|
||||
.filter(b -> b.getId().contains(input))
|
||||
.map(e1 -> e1.getId())
|
||||
.collect(Collectors.toList())
|
||||
|
@ -1055,7 +1055,7 @@ public enum BlockTypes implements BlockType {
|
||||
} catch (NumberFormatException e) {
|
||||
} catch (IndexOutOfBoundsException e) {}
|
||||
|
||||
throw new SuggestInputParseException("Unkown block for " + inputLower, inputLower, () -> Stream.of(BlockTypes.values)
|
||||
throw new SuggestInputParseException("Does not match a valid block type: " + inputLower, inputLower, () -> Stream.of(BlockTypes.values)
|
||||
.filter(b -> b.getId().contains(inputLower))
|
||||
.map(e1 -> e1.getId())
|
||||
.collect(Collectors.toList())
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren