package com.gamingmesh.jobs.api;

import org.bukkit.OfflinePlayer;
import org.bukkit.event.Cancellable;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;

public final class JobsPaymentEvent extends Event implements Cancellable {
    private static final HandlerList handlers = new HandlerList();
    private OfflinePlayer offlinePlayer;
    private double money;
    private double points;
    private boolean cancelled;

    public JobsPaymentEvent(OfflinePlayer offlinePlayer, double money, double points) {
	this.offlinePlayer = offlinePlayer;
	this.money = money;
	this.points = points;
    }

    public OfflinePlayer getPlayer() {
	return this.offlinePlayer;
    }

    public double getAmount() {
	return this.money;
    }

    public double getPoints() {
	return this.points;
    }

    public boolean isCancelled() {
	return cancelled;
    }

    public void setCancelled(boolean cancel) {
	cancelled = cancel;
    }

    public HandlerList getHandlers() {
	return handlers;
    }

    public static HandlerList getHandlerList() {
	return handlers;
    }
}
@@ -933,24 +933,98 @@
 ancel;%0A    %7D
+%0A    %0A    public void setAmount(double money) %7B%0A%09this.money = money;%0A    %7D
 %0A%0A    public
@@ -1151,8 +1151,9 @@
 %0A    %7D%0A%7D
+%0A

Update for editable event