Added exclusions for old farming varps + daily job limit

This commit is contained in:
Ceikry
2021-03-13 20:19:20 -06:00
parent 68195eaeb7
commit b83dd22f2e
5 changed files with 26 additions and 1 deletions
@@ -728,7 +728,7 @@ public abstract class Entity extends Node {
* @param key The attribute name.
*/
public void incrementAttribute(String key, int amount) {
attributes.setAttribute(key, attributes.getAttribute(key.replace("/save:",""), 0) + amount);
attributes.setAttribute(key, attributes.getAttribute(key, 0) + amount);
}
/**