Skip to content

Commit 9a6c402

Browse files
committed
fix: made paintings, item frames and other hangable entities keep their rotation after /data merge
1 parent 46e2d45 commit 9a6c402

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--- a/net/minecraft/world/entity/decoration/BlockAttachedEntity.java
2+
+++ b/net/minecraft/world/entity/decoration/BlockAttachedEntity.java
3+
@@ -149,7 +_,7 @@
4+
// CraftBukkit start - selectively save tile position
5+
@Override
6+
protected void addAdditionalSaveData(final net.minecraft.world.level.storage.ValueOutput output, final boolean includeAll) {
7+
- if (includeAll) {
8+
+ if (includeAll || com.legitimoose.lsp.MooseConfig.disableEnderchestSerializationInSelectors) { // Moose - Re-enable saving of those when playing with the enderchest serialization
9+
this.addAdditionalSaveData(output);
10+
}
11+
}

0 commit comments

Comments
 (0)