forked from minetest-mods/craftguide
Add a comment on the item polling
This commit is contained in:
parent
c62994f9af
commit
d6432f53bb
2
init.lua
2
init.lua
@ -925,6 +925,8 @@ if progressive_mode then
|
||||
return filtered
|
||||
end
|
||||
|
||||
-- Workaround. Need an engine call to detect when the contents
|
||||
-- of the player inventory changed, instead.
|
||||
mt.register_globalstep(function()
|
||||
local players = mt.get_connected_players()
|
||||
for i = 1, #players do
|
||||
|
Loading…
x
Reference in New Issue
Block a user