Page 1 of 1

avoid "tried to access inventory from too far"

Posted: Sun Jan 31, 2021 22:56
by AiTechEye
I just made a tool that would allow players to interact inventorys far away, but just get this messgae

is there a way to prevent it?

Code: Select all

minetest.register_on_cheat(function(ob,cheat)
	if cheat.type == "interacted_too_far" then
			return true/false/nil
	end
end)