Commit 865dd147 authored by TenPlus1's avatar TenPlus1
Browse files

added meta error check

parent 7c8b2dde
......@@ -310,6 +310,9 @@ minetest.register_abm({
-- get coords from pad/portal
local meta = minetest.get_meta(pos)
if not meta then return end -- errorcheck
local target_coords = {
x = meta:get_int("x"),
y = meta:get_int("y"),
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment