Skip to content
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

Chest state change breaks peripherals (again, really ?) #9

Open
SirEdvin opened this issue Apr 2, 2024 · 1 comment
Open

Chest state change breaks peripherals (again, really ?) #9

SirEdvin opened this issue Apr 2, 2024 · 1 comment

Comments

@SirEdvin
Copy link
Owner

SirEdvin commented Apr 2, 2024

Original issue: IntelligenceModding/AdvancedPeripherals#572

@Did-Nikole
Copy link

Hi,
We were the one who posted the original error.

After some more work, have change the way we do things, but did also notice that if you attempt to access an inventory immediately after just accessing it, it also can cause a java exception.

example below crashes on line 25 or 26 fairly repeatedly
src => peripheral.wrap("rftoolsutility:crafter3_1")

23 local function fetchItems(src)
24   src.pushItems(peripheral.getName(chest), 37)
25   src.pushItems(peripheral.getName(chest), 38)
26   src.pushItems(peripheral.getName(chest), 39)
27   src.pushItems(peripheral.getName(chest), 40)
28 end

sorry for the delay we have been unwell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants