We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d37721 commit d02cd41Copy full SHA for d02cd41
src/main/java/gregtech/api/pipenet/tile/TileEntityPipeBase.java
@@ -81,7 +81,7 @@ public Material getFrameMaterial() {
81
82
public void setFrameMaterial(@Nullable Material frameMaterial) {
83
this.frameMaterial = frameMaterial;
84
- if (world != null && world.isRemote) {
+ if (world != null && !world.isRemote) {
85
writeCustomData(UPDATE_FRAME_MATERIAL, buf -> {
86
buf.writeVarInt(frameMaterial == null ? -1 : frameMaterial.getRegistry().getNetworkId());
87
buf.writeVarInt(frameMaterial == null ? -1 : frameMaterial.getId());
0 commit comments