Hex Casting

Hex Casting

7M Downloads

Mishap for providing something other than an entity as Flay Mind's first argument has a broken lang key

Robotgiggle opened this issue ยท 0 comments

commented

Modloader

Forge, Fabric

Minecraft version

1.20.1

Hex Casting version

0.11.2

Issue description

If you pass Flay Mind something that isn't an entity in the place where it's expecting an entity, the function shown below causes a mishap:

Image

However, entity.mob is not a valid lang key, and thus you get a mishap message that looks something like this:

Image

Steps to reproduce

  1. Attempt to cast Flay Mind with something other than an entity as the first argument
  2. Observe broken mishap message
  3. Observe that the mishap.invalid_value.class.entity section of the lang file doesn't have an entry for mob