brunyman / MPDB

9 stars 2 forks source link

[Highest][BUG] Based on the cmi economic system, there is an error in synchronizing quickshop data #118

Open Junnstoy opened 1 year ago

Junnstoy commented 1 year ago

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!!!