Spiderman31807 / Tameable-Spiders

A Minecraft Mcreator Mod that makes the Spider/Cave Spider Tameable, as well as Adding some Advancements
https://www.curseforge.com/minecraft/mc-mods/tameable-spiders
0 stars 0 forks source link

Ghost Saddle after Respawning #4

Closed Spiderman31807 closed 2 weeks ago

Spiderman31807 commented 3 weeks ago

basically in order for the Spider to render the Saddle immediately after loading the world without somebody opening its inventory, i have an UpdateSaddle Method that changes the data, which is what causes the Saddle to Render.

and i only call UpdateSaddle either when Equipping a Saddle without the inventory (from it being disabled), or when the Saddle Slot changes in the Inventory. However i never call UpdateSaddle when the Spider Drops it items after death, so it thinks it has a Saddle when it doesn't.

its a Simple Fix, just Call UpdateSaddle after DropEquipment (method that drops all items) is used. however this isn't published yet because its just 1 bug & i already updated the mod today. so ima leave it for a bit. unless somebody explicitly asks for it to be fixed.