-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pushItems
and pullItems
returns 2x the real transfer count
#38
Comments
Linking CC:T issue |
@runi95 which version of UPW and Peripheralium you using? I can't reproduce this behaviour |
@SirEdvin Not sure if it matters, but I've been running this on Fabric instead of Forge and I'm encountering this issue when running on:
With the following mods:
*Are required to run these mods on Fabric |
I find it very ironic that Fabric API upgrade cause this issue |
But of course, the root of this issue was my code :) |
Hehe, I definitely feel you! I found it pretty odd too and thought it was a CC:Tweaked issue to begin with. Until I started testing with CC:Tweaked alone. |
Fixed in 1.4.4 release |
Reproduction steps:
lua
peripheral.call("front", "pushItems", "front", 1, nil, 2)
The peripheral call returns 52 (transferred items), but the chest only contains 26 Dirt which has now been moved to slot 2. This does not happen with just CC: Tweaked installed alone, but as soon as
UnlimitedPeripheralWorks
is added the bug occurs.NOTE: This bug only seems to appear when pushing or pulling items within the same inventory (ex: When wanting to move an item from one slot to another within the same chest), but as far as I can tell it does not seem to occur when transferring items between 2 separate inventories.
The text was updated successfully, but these errors were encountered: