Packet Handler in question: http://paste.minecraftforge.net/view/d6143e38
Complete source code: https://github.com/pixlepix/complexmachines
I set up a handler to send button press events on my GUI to the server. When I put debug printlns in the packet handler class, the program flow gets out to the last point with a correct value for direction. However, in my tile entity class, the direction is only changed client-side, and not server-side. Any help would be appreciated, as I am really not that good at Server/Client side handling.