We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7064bf2 commit 81a7810Copy full SHA for 81a7810
src/main/java/dev/technici4n/moderndynamics/pipe/PipeBlockEntity.java
@@ -162,7 +162,10 @@ public void toTag(CompoundTag nbt) {
162
163
if (!level.isClientSide()) { // WTHIT calls this on the client side
164
for (NodeHost host : getHosts()) {
165
- host.separateNetwork();
+ if (hostsRegistered) {
166
+ host.separateNetwork();
167
+ }
168
+
169
host.writeNbt(nbt);
170
}
171
@@ -173,7 +176,10 @@ public void fromTag(CompoundTag nbt) {
173
176
connectionBlacklist = nbt.getByte("connectionBlacklist");
174
177
175
178
179
180
181
182
183
host.readNbt(nbt);
184
185
0 commit comments