Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

internal function doesn't work in Java19 #70

Open
joutenchi opened this issue Jul 17, 2023 · 1 comment · May be fixed by #72
Open

internal function doesn't work in Java19 #70

joutenchi opened this issue Jul 17, 2023 · 1 comment · May be fixed by #72

Comments

@joutenchi
Copy link

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.

@Gxyloj
Copy link

Gxyloj commented Jul 28, 2023

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>

@Discreater Discreater linked a pull request Sep 20, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants