Fix pasting nbt on the same block with combine-stages disabled

This commit is contained in:
Jesse Boyd 2017-07-24 13:16:03 +10:00
parent 58d7a330a0
commit 5caeed19a1
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -63,11 +63,14 @@ public class HistoryExtent extends AbstractDelegateExtent {
int id = (combined >> 4);
if (id == block.getId()) {
if (!FaweCache.hasData(id)) {
return false;
}
int data = combined & 0xF;
if (data == block.getData()) {
return false;
if (!block.hasNbtData()) {
return false;
}
} else if (!block.hasNbtData()) {
int data = combined & 0xF;
if (data == block.getData()) {
return false;
}
}
}
try {