SirSengir/BuildCraft — pull request #318 by psxlover (2012-09-30 19:55:49+00:00)
Title: Refactored lasers.

Any change to the datawatchers after spawn entity and before the client entity gets created aren't getting synced, and then the server things that they were synced so unless if the value changes it wont try to sync it (this was happening to laser.show()). Made it change datawatcher onEntityUpdate (that way the client entity is initialized). The only problem now is that when you load a save, some lasers may not appear depending on your position until you move a few blocks. Fixes #263.

Also added a workaround for the laser showing a block higher than it should after a while on certain positions. Fixes #266.

Moved PowerLaser logic from EntityLaser.