More Radius Claiming Changes

This commit is contained in:
Driftay
2020-05-07 07:07:40 -04:00
parent 17e2a86717
commit 75faaa4bb5
6 changed files with 13 additions and 11 deletions

View File

@@ -113,7 +113,10 @@ public class Econ {
}
public static boolean transferMoney(EconomyParticipator invoker, EconomyParticipator from, EconomyParticipator to, double amount, boolean notify) {
if (!shouldBeUsed()) return false;
if (!shouldBeUsed()) {
invoker.msg(TL.ECON_DISABLED);
return false;
}
// The amount must be positive.
// If the amount is negative we must flip and multiply amount with -1.