mirror of
https://github.com/joe7575/techpack.git
synced 2024-11-22 07:13:48 +01:00
Stack overflow bugfix for the detector from fluxionary (issue #39)
This commit is contained in:
parent
b654abe45f
commit
6554619648
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user