Horse Summon Broke
litjohn50 opened this issue · 5 comments
Please read the guide for contributing before posting.
Minecraft version: 1.12.2
Wizardry version: 4.1.2
Environment: Server
Issue details: So once I summoned a spirit horse which died of suffication, when I was going down an incline. From then on it would not let me summon the spirit horse again. I don't know if its a issue with the spawning. In the gyazo video I am right clicking on the ground (even if you can't see the wand moving) and it does nothing. I can use a different spell as seen and that spell works fine.
Other mods involved: [only list mods that are relevant to the problem]
Link to crash report (if applicable): https://gyazo.com/498f417bcedb3d911c9ab545dac38ff6
I'm on a 1.7.10 server and can confirm the spirit wolf issue. You can manually fix this by going to your world > playerdata > ForgeCaps > ebwizardry:wizarddata and setting hasSpiritHorse or hasSpiritWolf respectively to 0.
I don't know how the logic currently works, but perhaps it could always despawn the previous spirit horse(or any owned by the caster) and spawn a new one?
I used to have this issue during development, but I thought I'd fixed it... my guess is that for some reason, suffocation doesn't trigger the bit of code that tells the player they no longer have a spirit horse (and can summon another one). Either that or the server got out of sync, possibly if you logged out.
@ProsperCraft Now that is a neat idea. I think I'd actually prefer that mechanic anyway, and it'll certainly fix the issue. I'll implement that change for the next update.