mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-29 14:05:25 +01:00
Lets make it always in async
This commit is contained in:
parent
9d4e62da1e
commit
14253be043
@ -5,8 +5,6 @@ import org.bukkit.event.Cancellable;
|
||||
import org.bukkit.event.Event;
|
||||
import org.bukkit.event.HandlerList;
|
||||
|
||||
import com.gamingmesh.jobs.Jobs;
|
||||
|
||||
public final class JobsPaymentEvent extends Event implements Cancellable {
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
private OfflinePlayer offlinePlayer;
|
||||
@ -15,7 +13,7 @@ public final class JobsPaymentEvent extends Event implements Cancellable {
|
||||
private boolean cancelled = false;
|
||||
|
||||
public JobsPaymentEvent(OfflinePlayer offlinePlayer, double money, double points) {
|
||||
super(Jobs.getGCManager().isEconomyAsync());
|
||||
super(true);
|
||||
this.offlinePlayer = offlinePlayer;
|
||||
this.money = money;
|
||||
this.points = points;
|
||||
|
Loading…
Reference in New Issue
Block a user