We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1c0a6d commit caa18fbCopy full SHA for caa18fb
src/main/java/dev/technici4n/moderndynamics/pipe/PipeBlockEntity.java
@@ -137,7 +137,9 @@ public void fromClientTag(CompoundTag tag) {
137
host.readClientNbt(tag);
138
}
139
140
- if (tag.getBoolean("#c")) { // remesh flag, a bit hacky but it should work ;)
+ // remesh flag, a bit hacky but it should work ;)
141
+ // the second check ensures that the very first packet is processed even though it doesn't have the remesh flag
142
+ if (tag.getBoolean("#c") || clientModelData == null) {
143
var attachmentTags = tag.getList("attachments", Tag.TAG_COMPOUND);
144
var attachments = new AttachmentModelData[6];
145
for (var direction : Direction.values()) {
0 commit comments