aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
Diffstat (limited to 'builtin')
-rw-r--r--builtin/game/item_entity.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/builtin/game/item_entity.lua b/builtin/game/item_entity.lua
index a85eba977..5d2cd7c76 100644
--- a/builtin/game/item_entity.lua
+++ b/builtin/game/item_entity.lua
@@ -200,7 +200,9 @@ core.register_entity(":__builtin:item", {
return -- Don't do anything
end
- assert(moveresult)
+ assert(moveresult,
+ "Collision info missing, this is caused by an out-of-date/buggy mod or game")
+
if not moveresult.collides then
-- future TODO: items should probably decelerate in air
return