Project MMO

Project MMO

10M Downloads

Tetra compat issue

NJArquette opened this issue ยท 1 comments

commented

Describe the bug
When using the zoom feature on a Tetra mod bow the player will start gaining swimming experience. This is most likely due to the trigger of holding breath used by Tetra.

To Reproduce
1 Equip a Tetra bow modified to have sights.
2 Crouch to activate the zoom feature.
3 Observe PMMO experience gain.

Versions:

  • Minecraft: (1.20.1)
  • Loader: Forge-47.2.0)
  • PMMO: 1.20.1-1.2.9
commented

Yes, this is exactly what is happening. The bow is triggering the BREATH_CHANGE event which has a default xp award for swimming. Your options are to remove the breath change xp by setting the amount to zero, or to change the skill to something like "aerobics" to have it make more sense.