From 70aa5091c97c26e48527ca788a84851185642db7 Mon Sep 17 00:00:00 2001 From: YoungOnion <39562198+YoungOnionMC@users.noreply.github.com> Date: Fri, 8 Nov 2024 00:56:26 -0700 Subject: [PATCH] Fix Cables emitting smoke on first tick (#2288) --- .../gregtechceu/gtceu/common/blockentity/CableBlockEntity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gregtechceu/gtceu/common/blockentity/CableBlockEntity.java b/src/main/java/com/gregtechceu/gtceu/common/blockentity/CableBlockEntity.java index ca8e848311..6d53c1c4f7 100644 --- a/src/main/java/com/gregtechceu/gtceu/common/blockentity/CableBlockEntity.java +++ b/src/main/java/com/gregtechceu/gtceu/common/blockentity/CableBlockEntity.java @@ -305,7 +305,7 @@ private void uninsulate() { public void setTemperature(int temperature) { this.temperature = temperature; level.getLightEngine().checkBlock(worldPosition); - if (!level.isClientSide) { + if (!level.isClientSide && temperature >= meltTemp) { var facing = Direction.UP; float xPos = facing.getStepX() * 0.76F + worldPosition.getX() + 0.25F; float yPos = facing.getStepY() * 0.76F + worldPosition.getY() + 0.25F;