The % operator is not working in some server
Summary
The % operator is not working in one of my server. In the example i tried to output these operand as message <caster.var.SpiderCB> is int and 2 is also int both operand are integer
mythicmobs premium dev 4037 paper 1.18.1 203
Steps to reproduce
- use any type of skill that require % operator
- thats it, all of the skill with such operator cannot be used, will produce error in my server
crossbow_change_mode:
Conditions:
- crouching true
Skills:
- variableadd{var=caster.SpiderCB;amount=1} @self
- variableMath{var=caster.SpiderCB;equation="<caster.var.SpiderCB>%2"} @self #<-------------
crossbow_int:
Conditions:
- variableisset caster.SpiderCB false
Skills:
- setvariable{var=caster.SpiderCB;value=0;}
Current behavior
error log https://mclo.gs/rleARzu
show error when this skill is triggered
Intended correct behavior
it should able to use without any error
Server log file
*this log is not the same log as the error one because i have tried multiple server and mythicmobs versions, but is still the same it just show they are in the same server https://paste.gg/p/anonymous/1b9724acf64d4eccae3d27cb5c8d3704
Debug log snippet
this is already a debug 5 message https://mclo.gs/rleARzu
Proposed fixes
idk what is causing this, same skill , files in different server, some server works, some server not working