Fix pasting nbt on the same block with combine-stages disabled
This commit is contained in:
parent
58d7a330a0
commit
5caeed19a1
@ -63,13 +63,16 @@ public class HistoryExtent extends AbstractDelegateExtent {
|
|||||||
int id = (combined >> 4);
|
int id = (combined >> 4);
|
||||||
if (id == block.getId()) {
|
if (id == block.getId()) {
|
||||||
if (!FaweCache.hasData(id)) {
|
if (!FaweCache.hasData(id)) {
|
||||||
|
if (!block.hasNbtData()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
} else if (!block.hasNbtData()) {
|
||||||
int data = combined & 0xF;
|
int data = combined & 0xF;
|
||||||
if (data == block.getData()) {
|
if (data == block.getData()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
try {
|
try {
|
||||||
if (!FaweCache.hasNBT(id)) {
|
if (!FaweCache.hasNBT(id)) {
|
||||||
if (block.canStoreNBTData()) {
|
if (block.canStoreNBTData()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user