JAOPCA

JAOPCA

23M Downloads

[1.12] OreEntry.thirdExtraName() returns second extra

Krutoy242 opened this issue ยท 1 comments

commented

JAOPCA version: 2.2.8.105

OreEntry.thirdExtraName returns wrong result.

My config:

aluminium {
    S:extra=Iron
    S:extra2=Aquamarine
    S:extra3=Sapphire
	[...]
}

ZenScript code:

  val JA = mods.jaopca.JAOPCA.getOre("Aluminium");
  print("extraName:           "~JA.extraName);
  print("secondExtraName:     "~JA.secondExtraName);
  print("thirdExtraName:      "~JA.thirdExtraName);

Log output:

extraName:           Iron
secondExtraName:     Aquamarine
thirdExtraName:      Aquamarine

You can see here, secondExtraName and thirdExtraName is equals, but third should be Sapphire.

Second problem that (?)extra always returning same OreEntry.
Another prints in crafttweaker.log:

JA.extra.oreName:       Aluminium
JA.secondExtra.oreName: Aluminium
JA.thirdExtra.oreName:  Aluminium
commented

Should be fixed