Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-03 01:50:07 +01:00
Fix block parse NPE
Dieser Commit ist enthalten in:
Ursprung
15d0d16da6
Commit
8de1fff263
@ -225,8 +225,7 @@ public class DefaultBlockParser extends InputParser<BlockStateHolder> {
|
||||
nbt = item.getNbtData();
|
||||
} else {
|
||||
BlockTypes type = BlockTypes.parse(typeString.toLowerCase());
|
||||
state = type.getDefaultState();
|
||||
|
||||
if (type != null) state = type.getDefaultState();
|
||||
if (state == null) {
|
||||
throw new NoMatchException("Does not match a valid block type: '" + input + "'");
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren