Stack overflow bugfix for the detector from fluxionary (issue #39)

This commit is contained in:
Joachim Stolberg 2019-09-14 20:39:12 +02:00
parent b654abe45f
commit 6554619648
2 changed files with 14 additions and 0 deletions

@ -2,6 +2,19 @@
## V2.03.07 (2019-09-14)
### Additions
### Removals
### Changes
### Fixes
- Stack overflow bugfix for the detector from fluxionary (issue #39)
## V2.03.06 (2019-08-08)
### Additions

@ -131,6 +131,7 @@ minetest.register_craft({
tubelib.register_node("tubelib_addons1:detector", {"tubelib_addons1:detector_active"}, {
on_push_item = function(pos, side, item)
if side ~= "L" then return false end
local player_name = minetest.get_meta(pos):get_string("player_name")
if tubelib.push_items(pos, "R", item, player_name) then
switch_on(pos)