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
parent ef4e169c46
commit 5ab9274739
3 changed files with 34 additions and 89 deletions

View File

@ -1,13 +1,19 @@
unused_args = false
max_line_length = 111
read_globals = {
"vector",
"screwdriver",
"dump",
"core",
"minetest",
"vector",
"ItemStack",
"VoxelArea",
"default",
"pipeworks",
"dump",
"VoxelArea",
"ItemStack",
"screwdriver",
}
globals = {