You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additional context
Likely cause of the issue:
Line 86 of EMFAnimationAPI VariableRegistry.getInstance().registerSimpleFloatVariable(variableName, variableExplanationTranslationKeyOrText, (MathValue.ResultSupplier) variableValueSupplier);
The variableValueSupplier, which does not inherit from MathValue.ResultSupplier, is forcibly cast to it, producing a ClassCastException
The text was updated successfully, but these errors were encountered:
Describe the bug
Calling
EMFAnimationApi.registerSingletonAnimationVariable
with aFloatSupplier
crashes the gameTo Reproduce
Steps to reproduce the behavior:
registerSingletonAnimationVariable
function with aFloatSupplier
Expected behavior
It shouldn't crash (and also should register the variable)
Crashlog
If applicable, add your crashlog or latest.log to help explain your problem.
Additional context
Likely cause of the issue:
Line 86 of
EMFAnimationAPI
VariableRegistry.getInstance().registerSimpleFloatVariable(variableName, variableExplanationTranslationKeyOrText, (MathValue.ResultSupplier) variableValueSupplier);
The
variableValueSupplier
, which does not inherit fromMathValue.ResultSupplier
, is forcibly cast to it, producing aClassCastException
The text was updated successfully, but these errors were encountered: