Cleanup server code. It seems like i broke something along the way...
More cleanup. Don't give client to player (just asking for race conditions...), have server return hit position when you hit players as well.
Kill world.findClosestGround (we don't need it anymore).
Remove client-side ray calculations adding boxes, fix crash if you don't hit anything.
Add back world.findClosestGround until we can find a better way to deal with unloaded chunks, and block-mining lag (since the blocks are removed in a worker thread, and changed aren't propegated immediately to the main thread).
Incorporate changes suggested by @kieve.
A bit more cleanup, but totally broken atm.
Autogenerated includes now working.
Moved player movement prediction code out into seperate file/class- the Player code was getting pretty hairy.
Fix crash in entity.js if entity-create is recieved for entity, but no entity-position.
Merge pull request #57 from crazy2be/cleanup

Cleanup