mirror of
https://github.com/joe7575/techpack.git
synced 2024-11-22 15:23:43 +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)
|
## V2.03.06 (2019-08-08)
|
||||||
|
|
||||||
### Additions
|
### Additions
|
||||||
|
@ -131,6 +131,7 @@ minetest.register_craft({
|
|||||||
|
|
||||||
tubelib.register_node("tubelib_addons1:detector", {"tubelib_addons1:detector_active"}, {
|
tubelib.register_node("tubelib_addons1:detector", {"tubelib_addons1:detector_active"}, {
|
||||||
on_push_item = function(pos, side, item)
|
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")
|
local player_name = minetest.get_meta(pos):get_string("player_name")
|
||||||
if tubelib.push_items(pos, "R", item, player_name) then
|
if tubelib.push_items(pos, "R", item, player_name) then
|
||||||
switch_on(pos)
|
switch_on(pos)
|
||||||
|
Loading…
Reference in New Issue
Block a user