Various anticheat improvements
authorsfan5 <sfan5@live.de>
Thu, 22 Dec 2016 18:29:15 +0000 (19:29 +0100)
committersfan5 <sfan5@live.de>
Mon, 26 Dec 2016 21:34:29 +0000 (22:34 +0100)
commitb16252dcae8c6b0e79c20fa4c3cbddc37ad377cb
treeef25171c52f75d86150a0e607579dc0ec6e5a073
parentb95f543da9d56974c4db8e34ce93e6f3bf7e776c
Various anticheat improvements

* Calculate maximum interact distance from wielded tool
* New "interacted_while_dead" cheat_type for the Lua API
* Disallow dropping items while dead
* Move player to spawn before resurrecting them
doc/lua_api.txt
src/network/serverpackethandler.cpp
src/server.cpp