From d6432f53bb4db1cfb37ddf19155588bb654aaba0 Mon Sep 17 00:00:00 2001 From: Jean-Patrick Guerrero Date: Wed, 13 Feb 2019 14:32:36 +0100 Subject: [PATCH] Add a comment on the item polling --- init.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init.lua b/init.lua index cf5b18a..7fe6a92 100644 --- a/init.lua +++ b/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