3
0
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:
NotMyFault 2018-10-04 01:12:29 +02:00
Ursprung a26cf574de
Commit 5896b2eba4
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -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())

Datei anzeigen

@ -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())