Project MMO

Project MMO

10M Downloads

[1.19.4] Block Interaction Requirements Display Bug

SomewhatDamaged opened this issue ยท 1 comments

commented

Describe the bug
When trying to INTERACT with a block that has requirements to do so, the message that is shown is:
You are not skilled enough to interact with 0 air (sometimes you get a 1 instead of 0)

Expected behavior
A message stating what skills are failing the requirement test, naming the object.

To Reproduce
Steps to reproduce the behavior:

  1. Make a datapack that has chest.json in the blocks folder have the below JSON.
  2. Ensure building skill is below 25.
  3. Try to right click chest.
  4. See error.
  5. Give yourself 25 building.
  6. Open chest normally.
{
  "requirements": {
    "INTERACT": {"building": 25}
  },
  "override": true
}

Screenshots
image

Versions:

  • Minecraft: (eg 1.19.4)
  • Loader: Forge-45.0.49
  • PMMO: 1.19.4-0.0.3

Additional context
Bang head against wall trying to figure out what is going on for half an hour before realizing it's just a display bug.

commented

May exist in 1.18 too.