mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-12-13 18:20:17 +01:00
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
|
return filtered
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Workaround. Need an engine call to detect when the contents
|
||||||
|
-- of the player inventory changed, instead.
|
||||||
mt.register_globalstep(function()
|
mt.register_globalstep(function()
|
||||||
local players = mt.get_connected_players()
|
local players = mt.get_connected_players()
|
||||||
for i = 1, #players do
|
for i = 1, #players do
|
||||||
|
Loading…
Reference in New Issue
Block a user