fix: made frames properly update on every client when using blueprint/screwdriver/hammer

This commit is contained in:
2024-06-19 13:20:12 +02:00
parent d325e3c5a5
commit 48c7c4e538
5 changed files with 15 additions and 9 deletions

View File

@@ -57,6 +57,6 @@ public class ReFramedDoubleEntity extends ReFramedEntity {
public void writeNbt(NbtCompound nbt) {
super.writeNbt(nbt);
if(second_state != Blocks.AIR.getDefaultState()) nbt.put(BLOCKSTATE_KEY + 2, NbtHelper.fromBlockState(second_state));
nbt.put(BLOCKSTATE_KEY + 2, NbtHelper.fromBlockState(second_state));
}
}