geforkt von Mirrors/FastAsyncWorldEdit
Use default blockstate internal id for creating blockstates from their serialised form
Fixes #1294
Dieser Commit ist enthalten in:
Ursprung
40a4010041
Commit
adf83bdd0a
@ -185,7 +185,7 @@ public class BlockState implements BlockStateHolder<BlockState>, Pattern {
|
|||||||
if (defaultState != null) {
|
if (defaultState != null) {
|
||||||
stateId = defaultState.getInternalId();
|
stateId = defaultState.getInternalId();
|
||||||
} else {
|
} else {
|
||||||
stateId = type.getInternalId();
|
stateId = type.getDefaultState().getInternalId();
|
||||||
}
|
}
|
||||||
int length = state.length();
|
int length = state.length();
|
||||||
AbstractProperty property = null;
|
AbstractProperty property = null;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren