mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Fix #1265
This commit is contained in:
parent
15d888a40c
commit
93dff36ee2
@ -481,7 +481,7 @@ public class DefaultBlockParser extends InputParser<BaseBlock> {
|
|||||||
if (nbt != null) {
|
if (nbt != null) {
|
||||||
result = blockStates.size() > 0 ? state.toBaseBlock(nbt) : new BlanketBaseBlock(state, nbt);
|
result = blockStates.size() > 0 ? state.toBaseBlock(nbt) : new BlanketBaseBlock(state, nbt);
|
||||||
} else {
|
} else {
|
||||||
result = state.toBaseBlock();
|
result = blockStates.size() > 0 ? new BaseBlock(state) : state.toBaseBlock();
|
||||||
}
|
}
|
||||||
return validate(context, result);
|
return validate(context, result);
|
||||||
//FAWE end
|
//FAWE end
|
||||||
|
Loading…
Reference in New Issue
Block a user