bee drops two stingers 1.20.1
Aceplante opened this issue · 11 comments
What modloader and Bumblezone version? What other mods did you have on or what modpack are you playing on? Is this a vanilla bee or not? Did the bee have a stinger on or not? (It’s supposed to be a 100% drop rate if bee has stinger and 0% if no stinger)
Yes it was a vanilla bee. It did not sting me so it wouldve had a stinger, I was not using looting and dont think I had any other loot boosting effects,
Yea I checked the loot table and that does seem to be the case, so this may just be me
Ah, yep. It does not happen on a minimal instance, so Ill have to do more testing. You can close for now if you want, ill reopen if i find it
I still want your modpack if you are using latest bumblezone version and still experience the issue. A mod could be rolling a second separate loot table for bee death instead of adding their stuff to the bee loot table. My code could then be triggered twice as a result of the other mod rolling the entirely separate loot table
I like to keep issue reports open and marked with the problematic mod so others can come here and see the cause. It'll also help me as I can see if I can do anything to avoid the other mod's loot table or contact the other modder.
Good news: Daripher/Auto-Leveling#29
Reopening
Idea: mark the bee as drops done somehow so future rolls of loot table doesn’t drop item? Worry it could get accidentally triggered by drop scanning mods
Should be fixed now. What I do is I attach a temporary data to the entity when I rolled my loot table. Then check if entity was already marked before trying to roll it again and don't if so. This will stop any mod that is erroneously spawning mod loot table drops outside of Global loot Modifier system from causing me to do duplicate drops as well.