[MythicMobs] bug in summoning mechanic
Hi, I encountered a bug in the summon command.
I was creating a witch mob that summons white shulkers without an AI that protect the witch while they are alive,
but during testing sometimes the shulkers would spawn at the bottom of the world just above the void instead of the allowed radius. I was testing this on a 1 block thick platform in a void world (world without other blocks). I summon the mobs around y=80 with the following skill: - summon{type=ProtectionTotem;amount=2;radius=6;yr=2;onSurface=true} @self
. This should not allow mobs to spawn 80 blocks lower in a place where there aren't even any blocks to spawn on nearby. I have a file attached with all the code from the mobs involved.
Plugin version: 4.11.0 Free version
I hope this will be enough info to help fix this bug. I personally think this might have something to do with shulkers normally needing a block to stand on and the onSurface option.Related_code.yml If you need anything else feel free to contact me.
EDIT: I removed the yr option and it's still happening. I also tested it with a platform ~40 blocks lower than the platform where the witch mob summoning them is on, and it will spawn on that one instead of just above the void, so it seems it spawns on the first block it encounters going downwards. It also seems to only happen near the edge of the platform, with the shulker spawning just outside of the platform with no other blocks above it.