This reverts commit 58fa94e838.
Rickoff's changes did not work as intended by him, because the condition he added for sending ObjectScale packets was never true due to it relying on an uninitialized variable. It's better to just handle object scales in a different function anyway.
# Conflicts:
# scripts/dataTableBuilder.lua
logicHandler.CreateObjectsAtPlayer and logicHandler.CreateObjectAtLocation both take objectData table instead of plain refId.
objectData can be built using added method BuildObjectData in dataTableBuilder.lua
This way any amount of say gold can be spawned easily.
For backwards compatibility it's possible to replace argument refId in either logicHandler.CreateObjectAtPlayer or logicHandler.CreateObjectAtLocation with dataTableBuilder.BuildObjectData(refId)