More Peripherals

More Peripherals

219k Downloads

Spawner duplication bug

crazyvinvin opened this issue ยท 2 comments

commented

Spawner duplication bug

Hello again!
We found a duplication bug for spawners with spawner.captureSpawner().

Steps to reproduce

Setup like this:
image

Run in terminal:

lua
spawner = peripheral.wrap("back")
spawner.captureSpawner()

This drops one spawner, which is obviously the idea. However, rerunning:

spawner.captureSpawner()

Keeps dropping spawners. So this:

while true do
    spawner.captureSpawner()
end

Will remove one spawner block and turn it into an entity item and then keep dropping infinite spawner items on the ground.

commented

well, maybe i will need to make the spawner be inserted as an item and delete the block completely

commented

Fixed in Dev