Infinite spawner duplication upon placing Reinforced Spawners
Thearcuzhunter opened this issue · 7 comments
❗ Checklist
- I am using the official english version of Slimefun and did not modify the jar.
- I am using an up to date "DEV" (not "RC") version of Slimefun.
- I am aware that issues related to Slimefun addons need to be reported on their bug trackers and not here.
- I searched for similar open issues and could not find an existing bug report on this.
📍 Description
Originally, I mined a Blaze Spawner in a nether fortress on my survival server with a Pickaxe of Containment with no enchants on it. It was broken of course, and I gathered all the materials to get it reinforced, I created the reinforced one in the Ancient Altar, got the reinforced blaze spawner, and every time I place it, It stays placed, but it gives me back the same spawner I just placed, giving me the ability to infinitely use that spawner anywhere I want.
This does not apply to normal spawners that aren't Slimefun related.
📑 Reproduction Steps
1.- Get a Reinforced Spawner through any method (even tried creative and it also does this there).
2.- Place it.
3.- Receive an exact copy of the spawner you just placed, 0.3 seconds after placing it.
💡 Expected Behavior
I expected it to leave it placed, and not give me a duplicate, as this is broken in every way possible.
📷 Screenshots / Videos
https://drive.google.com/file/d/1-yXrKQGIIj8H41fL_WcXRk7fFh5z0ELl/view?usp=drivesdk
📜 Server Log
📂 /error-reports/
folder
💻 Server Software
Paper
🎮 Minecraft Version
1.18.x
⭐ Slimefun version
https://drive.google.com/file/d/100tOh1s8nW5x4nAa02XFuwyNzTT5_6Oy/view?usp=drivesdk
https://drive.google.com/file/d/100tOh1s8nW5x4nAa02XFuwyNzTT5_6Oy/view?usp=drivesdk
🧭 Other plugins
No response
Here it is from beginning to end of the process:
https://drive.google.com/file/d/1-nFu3YmGrCKBSQ1RU62R1GU0UqU_tAZZ/view?usp=drivesdk
https://drive.google.com/file/d/1-qH9aoU0WK9FkJFRXtGyeKtzBRsYwxMG/view?usp=drivesdk
https://drive.google.com/file/d/1-yXrKQGIIj8H41fL_WcXRk7fFh5z0ELl/view?usp=drivesdk
I am unable to reproduce this in 1.18.1 dev 999. going to check to see if one of your additional plugins are affecting it.
I can't open the Google Drive link. It's not shared properly. You can use YouTube to upload video, since it doesn't use your Google Drive storage quota and easier to play. Let me know when you shared those Google Drive link to everyone.
This is being caused by the Magic plugin. Please report it to their dev team. Closing issue
All my plugin does is transfer NBT item from the spawner item to the block.
I have no idea how or why that is causing this duplication, nor how I could look into it. There's nothing in my code that would be giving them the item back.
I'll turn this feature off when Slimefun is present, but it would be nice to know what's actually going on here.
NathanWolf, the Slimefun code is open source. Here's the link to the github.
https://github.com/Slimefun/Slimefun4
I'm not a dev, so I can't provide much help there, but maybe between you and a couple of our dev's we can find the root cause of what's going on.
Thank you- I don't see anything in the RepairedSpawner
class that would cancel the event nor return the item to the player. Similarly, my code is only copying tags from BlockEntityTag
on the item to the tile entity, nothing that (I think) would cause this behavior.
Very strange, I guess it's not a huge deal since I have put a workaround in, but I'm still very curious to know the cause. Maybe some kind of vanilla interaction having to do with the block state being updated twice in two different ways?