From d2b28f42750ded0dbdeab9b4836064af16dd353d Mon Sep 17 00:00:00 2001 From: FOlkvangrField Date: Wed, 15 Jan 2025 19:36:37 +0800 Subject: [PATCH] Fix RBMK Crane Console Fixed RBMK Crane Console moving problem. I actually don't know how the new packet sending code works. I compared the posLeft variable with the similar posFront variable and found that it performed an additional operation during deserialization, so I removed it, and this fix the problem that RBMK Crane Console can't move left or right --- .../com/hbm/tileentity/machine/rbmk/TileEntityCraneConsole.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/com/hbm/tileentity/machine/rbmk/TileEntityCraneConsole.java b/src/main/java/com/hbm/tileentity/machine/rbmk/TileEntityCraneConsole.java index 06970b7b6..120efd4f5 100644 --- a/src/main/java/com/hbm/tileentity/machine/rbmk/TileEntityCraneConsole.java +++ b/src/main/java/com/hbm/tileentity/machine/rbmk/TileEntityCraneConsole.java @@ -265,7 +265,6 @@ public class TileEntityCraneConsole extends TileEntityLoadedBase implements Simp this.posFront = buf.readDouble(); this.posLeft = buf.readDouble(); this.hasLoaded = buf.readBoolean(); - this.posLeft = buf.readDouble(); this.loadedHeat = buf.readDouble(); this.loadedEnrichment = buf.readDouble(); }