mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
Use default blockstate internal id for creating blockstates from their serialised form
Fixes #1294
This commit is contained in:
parent
40a4010041
commit
adf83bdd0a
@ -185,7 +185,7 @@ public class BlockState implements BlockStateHolder<BlockState>, Pattern {
|
||||
if (defaultState != null) {
|
||||
stateId = defaultState.getInternalId();
|
||||
} else {
|
||||
stateId = type.getInternalId();
|
||||
stateId = type.getDefaultState().getInternalId();
|
||||
}
|
||||
int length = state.length();
|
||||
AbstractProperty property = null;
|
||||
|
Loading…
Reference in New Issue
Block a user