1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2024-12-13 04:00:28 +01:00

nil check during mob detatch in mount.lua

This commit is contained in:
tenplus1 2020-07-03 15:46:50 +01:00
parent edf0469009
commit 804f8b9a0c

View File

@ -84,7 +84,7 @@ local function force_detach(player)
local entity = attached_to:get_luaentity()
if entity.driver
if entity and entity.driver
and entity.driver == player then
entity.driver = nil