OmniOcular icon indicating copy to clipboard operation
OmniOcular copied to clipboard

internal function doesn't work in Java19

Open joutenchi opened this issue 1 year ago • 1 comments

i use this version https://www.curseforge.com/minecraft/mc-mods/omni-ocular/files/4475975 in GTNH with JDK19, but any use of internal function like name, fluidName doesn't work . it shows nothing and makes lines disappeared.

joutenchi avatar Jul 17 '23 08:07 joutenchi

same problem

Example

<!--机器/大型机器:物品产物--> <line displayname="hud.msg.greg.output"> if(nbt['mActive']==1 && nbt['mID']!=1003 && nbt['mID']!=12730 && nbt['mID']!=12731){return YELLOW+nbt['mOutputItem0']['Count']+"个"+GREEN+name(nbt['mOutputItem0'])} if(nbt['mActive']==1 && nbt['mOutputItem0']['Damage']!=nbt['mOutputItem1']['Damage'] && nbt['mID']==12730 || nbt['mID']==12731){return YELLOW+nbt['mOutputItemsLength']/2+"个 "+GREEN+name(nbt['mOutputItem0'])} if(nbt['mActive']==1 && nbt['mID']==12730 || nbt['mID']==12731){return YELLOW+nbt['mOutputItemsLength']+"个 "+GREEN+name(nbt['mOutputItem0'])} </line>

Gxyloj avatar Jul 28 '23 08:07 Gxyloj