mirror of
https://github.com/araxiaonline/mod-individual-xp.git
synced 2026-06-13 02:32:23 -04:00
Allows a 0 XP rate
For those who want to block their XP progression easily.
This commit is contained in:
@@ -80,7 +80,7 @@ public:
|
||||
return false;
|
||||
|
||||
uint32 rate = (uint32)atol(args);
|
||||
if (rate == 0 || rate > MaxRate)
|
||||
if (rate > MaxRate)
|
||||
return false;
|
||||
|
||||
me->CustomData.GetDefault<PlayerXpRate>("Individual_XP")->XPRate = rate;
|
||||
|
||||
Reference in New Issue
Block a user