Merge pull request #1 from Thomas--S/patch-1
Fix crash when placing boat
This commit is contained in:
commit
70c0c1ca61
2
api.lua
2
api.lua
@ -670,7 +670,7 @@ minetest.register_tool(vehicle.."_spawner", {
|
||||
return item
|
||||
elseif pointed_thing.type == "node" and minetest.get_item_group(pointed_thing.name, "water")then
|
||||
local obj = minetest.env:add_entity(pointed_thing.under, vehicle)
|
||||
obj.owner = placer
|
||||
object.owner = placer
|
||||
item:take_item()
|
||||
return item
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user