Skip to content

Update Rhino library #1277

Closed Answered by granny
skbeh asked this question in __Completed__
Mar 4, 2023 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Rhino 1.7.14 has published for a while, but Purpur is still using a very outdated version.

Appreciate the heads up on the outdated Rhino version. Will look into updating that when I have time.

Also, this should be

value = (double) scriptEngine.eval("'use strict'; { const size = " + size + "; " + equation.get() + "; }");

to reduce js overhead and prevent side effect.

Will look into that as well.

By the way, it would be better to avoid embedding a js engine just to compute health and damage.

Currently it's used to allow the end-user to define their own equation for calculating a slime's health and damage (and for any other equations a server owner would like to modify easily). By defa…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@skbeh
Comment options

@granny
Comment options

@skbeh
Comment options

Answer selected by skbeh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants