Advanced Peripherals

Advanced Peripherals

29M Downloads

`inventoryManager.removeItemFromPlayer()` into a full storage results in duplication

illucc opened this issue ยท 1 comments

commented

Describe

Trying to input items into a storage that is full results in a item duplication while in creative mode.

Steps to reproduce

  1. Use a Advanced Computer with a inventory manager that has a filled storage on top.
  2. Use this code
local manager = peripheral.find("inventoryManager")
if manager == nil then error("inventoryManager not found") end
while true do
    os.sleep(1)
    manager.removeItemFromPlayer("top", 64, 17)
end
  1. Try repeatedly putting a singe item on the top right slot of your inventory.

Multiplayer?

No

Version

1.19.2-0.7.21b (Latest 1.19)

Minecraft, Forge and maybe other related mods versions

Forge 43.1.1 Minecraft 1.19.2

Screenshots or Videos

Untitled.mp4

Crashlog/log

No response

commented

Currently working on refining that!
Every item transferring related block now uses the same system.
Adding new filters and eliminating bugs.

This is the video I posted on discord

2023-02-04_03-17-47.mp4