I have the following piece of code in a NPC:
But for some reason, this isn't updating the number of GP, it's just setting the amount of points.
Is there any way to fix this?
PHP Code:
cm.getGuild().gainGP((cm.getGuild().getGP()) + 5);
Is there any way to fix this?