This PR optimizes some parts and improves code quality by following lua_api.md recommendations.
Check individual commits for what this PR does and why the changes are made.
For "Prevent saving entities": Due to how static_save = false works, old entities may linger but disappear after punching them or restarting the server again.
This PR optimizes some parts and improves code quality by following
lua_api.md
recommendations.Check individual commits for what this PR does and why the changes are made.
For "Prevent saving entities": Due to how
static_save = false
works, old entities may linger but disappear after punching them or restarting the server again.This PR is ready for review.