yyon / grapplemod

Grappling hook mod for Minecraft
GNU General Public License v3.0
36 stars 29 forks source link

Unhook players when they enter Spectator Mode - Fixes #71 #124

Open squeeglii opened 1 year ago

squeeglii commented 1 year ago

As the title says.

I would've implemented it without having to add a parameter to unattach, however, that would've needed mixins due to where Forge triggers the gamemode event. This seems to work though and doesn't break old functionality.

Still a recent fix so it may need more testing buuuuut, it seems to work just fine.