-
Notifications
You must be signed in to change notification settings - Fork 0
/
MoneyEvent.java
41 lines (33 loc) · 914 Bytes
/
MoneyEvent.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package de.iani.cubeConomy.events;
import java.util.UUID;
import org.bukkit.command.CommandSender;
import org.bukkit.event.Event;
public abstract class MoneyEvent extends Event {
private final CommandSender actor;
private final double amount;
private final UUID target;
private final Cause cause;
private final String reason;
public MoneyEvent(CommandSender actor, double amount, UUID target, Cause cause, String reason) {
this.actor = actor;
this.amount = amount;
this.target = target;
this.cause = cause;
this.reason = reason;
}
public CommandSender getActor() {
return actor;
}
public double getAmount() {
return amount;
}
public UUID getTarget() {
return target;
}
public Cause getCause() {
return cause;
}
public String getReason() {
return reason;
}
}