1
0
mirror of https://github.com/Zrips/Jobs.git synced 2025-02-18 05:11:32 +01:00

Update for editable event

This commit is contained in:
Niklas Linz 2016-04-05 13:30:32 +02:00
parent 37235531e8
commit 961ff6e7ef

View File

@ -37,6 +37,10 @@ public final class JobsPaymentEvent extends Event implements Cancellable {
public void setCancelled(boolean cancel) { public void setCancelled(boolean cancel) {
cancelled = cancel; cancelled = cancel;
} }
public void setAmount(double money) {
this.money = money;
}
public HandlerList getHandlers() { public HandlerList getHandlers() {
return handlers; return handlers;
@ -45,4 +49,4 @@ public final class JobsPaymentEvent extends Event implements Cancellable {
public static HandlerList getHandlerList() { public static HandlerList getHandlerList() {
return handlers; return handlers;
} }
} }