mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-13 04:53:55 +00:00
Use default blockstate internal id for creating blockstates from their serialised form
Fixes #1294
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user