Hello author, your plugin is great, but I found that there is a major bug in the synchronization of the cmi economy during use.
After decompiling, I found that the takemoney function seems to have a logic error. The input parameter money is a negative number (money=d=cmi.to-cmi.from).
double_2=double1-money in the takemoney function, for example, if double_1=100, money=-100, double_2=200, resulting in the same effect of addmoney.
Please help to look at the problem first, this bug is fatal!!!
Hello author, your plugin is great, but I found that there is a major bug in the synchronization of the cmi economy during use. After decompiling, I found that the takemoney function seems to have a logic error. The input parameter money is a negative number (money=d=cmi.to-cmi.from). double_2=double1-money in the takemoney function, for example, if double_1=100, money=-100, double_2=200, resulting in the same effect of addmoney. Please help to look at the problem first, this bug is fatal!!!