Figura

Figura

509k Downloads

The air volume of the player still gets decreased from other Figura player even in situations where the air volume of the player is not decreased

Gakuto1112 opened this issue ยท 0 comments

commented

Description

When avatar's host player has "water breathing" effect or is in creative mode, the value which can be gotten through player:getAir() will not be decreased from host player, but the value still gets decreased even in this situation from other Figura players.

How to reproduce

In this case, avatar host player is called "host player" and the Figura player who can see host player's avatar is called "guest player".

  1. Have another Minecraft player or another Minecraft account.
  2. Install Figura to both of two players.
  3. Inject following code in host player's avatar to check host player's air volume.
    events.TICK:register(function ()
     print(player:getAir())
    end)
  4. Upload this avatar.
  5. Start multiplayer.
  6. Guest player turns on "Log non-avatar scripts" to see host player's avatar logs.
  7. Host player gets "water breathing" effect or change into creative mode.
  8. Host player dives into the water.
  9. You will see host player's air volume decreasing from guest player even host player see the air volume of thierself is not decreased.

Enviroment

  • Minecraft 1.19.3
  • Fabric loader 0.14.12
  • Fabric API 0.72.0+1.19.3
  • Figura 0.1.0-rc.13