avoid "tried to access inventory from too far"

Post Reply
User avatar
AiTechEye
Member
Posts: 918
Joined: Fri May 29, 2015 21:14
GitHub: AiTechEye
Location: ¯\_(ツ)_/¯

avoid "tried to access inventory from too far"

by AiTechEye » Post

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)

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests