-
-
Notifications
You must be signed in to change notification settings - Fork 375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Butterfly Statue spawns catchable butterflies #1311
Comments
Just tested 4.3.20 bunny statues against stock. In stock, spawned bunnies go poof when catching them with a bug net. In 4.3.20, you get bunnies. I suspect all spawned critters are catchable in 4.3.20. |
I notice that TerrariaServerAPI.Terraria.Wiring line 1926 sets SpawnedFromStatue to true, but I don't see this field being read from anywhere (except TerrariaServerAPI.Terraria.NPC line 61193, where it's stored as a temp value and then rewritten onto the NPC object after defaults have been set). |
Our decompile is at fault. I've compared current TSAPI NPC.cs against my DotPeek 1.3.3.3 decompile and I can confirm TSAPI is completely missing any checks associated with SpawnedFromStatue. |
Reopning because changelog wasn't updated. |
Tested in 4.3.19 and 4.3.20, butterfly statues spawn butterflies that can be caught with either bug net. According to the wiki, critters spawned by critter statues should disappear instead of being caught. I have not yet been able to test this against stock TerrariaServer or with other statues.
The text was updated successfully, but these errors were encountered: