WildStacker icon indicating copy to clipboard operation
WildStacker copied to clipboard

Linked spawner entities are ignoring their mob limits

Open airoons opened this issue 2 years ago • 2 comments

Minecraft's Version

1.20.2

Plugin's Version

2023.3

Describe the bug

Let's imagine a situation. In pre spawner spawn event 8x stacked spawner will spawn one 8x stacked mob. There are multiple "candidates" that could be stacked into. It goes through them, counts their size and in the end creates ONE mob by merging nearby ones.

https://github.com/BG-Software-LLC/WildStacker/blob/master/src/main/java/com/bgsoftware/wildstacker/listeners/SpawnersListener.java#L854C17-L854C37

You are not checking or limiting that line to respect the entity stack limit for the entity type.

To Reproduce

I described it in the section above.

Additional Information

No response

airoons avatar Nov 16 '23 22:11 airoons

We have been experiencing a similar issue for quite some time now. However, from our testing its not just linked spawner mobs, all mobs from spawners are able to go over their stack size limit.

EcoSMP avatar Nov 23 '23 19:11 EcoSMP

Check out latest dev build, let me know if it is fixed

OmerBenGera avatar Mar 08 '24 19:03 OmerBenGera

Closing this as it seems to be fixed If the issue still occurs let me know

OmerBenGera avatar May 11 '24 17:05 OmerBenGera