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
This commit is contained in:
FOlkvangrField 2025-01-15 19:36:37 +08:00
parent de1bcfd35a
commit d2b28f4275

View File

@ -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();
}