Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-03 01:50:07 +01:00
Fix rotation breaking NBT data:
- Don't only copy NBT over if the original block had a Rot tag
Dieser Commit ist enthalten in:
Ursprung
3d8303a227
Commit
76efbed4b2
@ -337,8 +337,8 @@ public class BlockTransformExtent extends ResettableExtent {
|
|||||||
values.put("Rot", new ByteTag((byte) MCDirections.toRotation(newDirection)));
|
values.put("Rot", new ByteTag((byte) MCDirections.toRotation(newDirection)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return new BaseBlock(transformed, tag);
|
|
||||||
}
|
}
|
||||||
|
return new BaseBlock(transformed, tag);
|
||||||
}
|
}
|
||||||
return transformed.toBaseBlock();
|
return transformed.toBaseBlock();
|
||||||
}
|
}
|
||||||
|
@ -365,8 +365,7 @@ public class ForwardExtentCopy implements Operation {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
copy = new CombinedBlockCopy(source, finalDest, copySrcFunc);
|
copy = new CombinedBlockCopy(source, finalDest, copySrcFunc);
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
copy = new SimpleBlockCopy(source, finalDest);
|
copy = new SimpleBlockCopy(source, finalDest);
|
||||||
}
|
}
|
||||||
if (this.filterFunction != null) {
|
if (this.filterFunction != null) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren