Gliders

Gliders

1M Downloads

Glider cannot be quick-swapped with other chest slot gear

Sydokiddo opened this issue ยท 3 comments

commented

While holding a glider in your hand and right-clicking with it, the expected result would be to swap the glider with whatever item is currently in your chest slot, as this is what happens with any chestplate item or the elytra in vanilla, but this doesn't happen.

This issue I believe still persists on the latest version, which is v1.1.6!

commented

Adding onto this, I'm fairly certain the reason why this occurs is due to the fact that the glider uses its own code for equipping it rather than the vanilla method for equipping an equipable item. (Screenshot attached)

This can be easily fixed by utilizing the vanilla equipable code and assigning the glider as a chest slot item! For a good example, reference the Elytra item class for this!

image

commented

I'll sort this out!