1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-11-25 20:16:13 +01:00

Possible to edit amount in event

This commit is contained in:
Niklas Linz 2016-04-05 13:28:34 +02:00
parent e394f045db
commit 37235531e8

View File

@ -169,6 +169,9 @@ public class BufferedEconomy {
// If event is canceled, dont do anything
if (JobsPaymentEvent.isCancelled())
continue;
double newAmount = JobsPaymentEvent.getAmount();
payment.setAmount(newAmount);
if (Jobs.getGCManager().UseServerAccount) {
if (!hasMoney) {