Deadrik/TFCraft — pull request #609 by fuami (2014-10-13 20:32:23+00:00)
Title: Fix Shift Click Ghosts

I asked on IRC about these, and I heard that bugs with shift clicking are ignored by the devs, so I thought maybe I would offer to fix it instead.

The Bug: Shift click cooling ingot into a large vessel of water, result - ghosted ingot in inventory.

The Reason: The issue it self was caused because the container is rapid firing the updates for the ingot temp, so when the client moved the ingot, a moment later it would hear from the server of 20 ms ago that that slot should be a cooling ingot ( thus a ghost is born )

My Solution: Just have the server send the empty slot when shift clicking; results in clearing any ghosts the moment they appear.

I have tested this personally in dev, let me know if you need anything else from me.

Sorry I had to edit so many files, but its the only way that made sense to make sure it sticks, with all the containers.