summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Essentials/src/com/earth2me/essentials/api/Economy.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/Essentials/src/com/earth2me/essentials/api/Economy.java b/Essentials/src/com/earth2me/essentials/api/Economy.java
index 089f04437..55e415f8e 100644
--- a/Essentials/src/com/earth2me/essentials/api/Economy.java
+++ b/Essentials/src/com/earth2me/essentials/api/Economy.java
@@ -162,13 +162,13 @@ public class Economy
if (accountCreated(name))
{
User user = usrConv(name);
- result = user.getMoney() + money;
+ result = getMoney(name) + money;
user.setMoney(money);
}
return;
}
User user = usrConv(name);
- result = user.getMoney() + money;
+ result = getMoney(name) + money;
user.setMoney(result);
return;
}
@@ -182,14 +182,14 @@ public class Economy
if (accountCreated(name))
{
User user = usrConv(name);
- result = user.getMoney() / money;
+ result = getMoney(name)/ money;
user.setMoney(result);
return;
}
return;
}
User user = usrConv(name);
- result = user.getMoney() / money;
+ result = getMoney(name) / money;
user.setMoney(result);
return;
}
@@ -203,14 +203,14 @@ public class Economy
if (accountCreated(name))
{
User user = usrConv(name);
- result = user.getMoney() * money;
+ result = getMoney(name) * money;
user.setMoney(result);
return;
}
return;
}
User user = usrConv(name);
- result = user.getMoney() * money;
+ result = getMoney(name) * money;
user.setMoney(result);
return;
}
@@ -224,14 +224,14 @@ public class Economy
if (accountCreated(name))
{
User user = usrConv(name);
- result = user.getMoney() - money;
+ result = getMoney(name) - money;
user.setMoney(result);
return;
}
return;
}
User user = usrConv(name);
- result = user.getMoney() - money;
+ result = getMoney(name) - money;
user.setMoney(result);
return;
}