Fix pipeworks pulling from the wrong chest slot

This removes workarounds related to inv callbacks which were later fixed by the engine.
In addition, pipeworks does (for years) provide the item index, thus such workarounds
were removed too and replaced by using the arguments provided.

Fixes an item duplication when using a pipeworks injector to pull from a digiline chest.
This commit is contained in:
SmallJoker
2025-06-21 20:47:48 +02:00
committed by SmallJoker
parent 9354583de5
commit dd0b66a3df
3 changed files with 34 additions and 89 deletions

View File

@ -2,6 +2,9 @@ name = digilines
depends =
optional_depends = mcl_core, mcl_sounds, default, tubelib, tubelib2
description = """
This mod adds digiline wires, an RTC (Real Time Clock), a light sensor as well as an LCD Screen.
This mod adds digiline wires, an RTC (Real Time Clock), a light sensor as well as an LCD Screen.
Can be used together with the luacontroller from mesecons.
"""
# Required due to https://github.com/luanti-org/luanti/issues/6534 (inventory callbacks)
min_minetest_version = 5.4