Don't construct new BaseBlock

This commit is contained in:
Jesse Boyd
2019-04-06 01:12:57 +11:00
parent 99db2d557a
commit 144215c813
12 changed files with 15 additions and 18 deletions

View File

@ -271,7 +271,7 @@ public class DefaultBlockParser extends InputParser<BaseBlock> {
}
}
if (nbt != null) return new BaseBlock(state, nbt);
if (nbt != null) return state.toBaseBlock(nbt);
if (blockType == BlockTypes.SIGN || blockType == BlockTypes.WALL_SIGN) {
// Allow special sign text syntax