mirror of
https://github.com/darksaid98/EntityBingo.git
synced 2026-12-02 00:08:45 +00:00
v1.0.2 fixed several null errors and added age check
This commit is contained in:
1 parent
3b0573b712
commit
56efdb4892
5 files changed
+112
-91
No files matched your search
@@ -8,8 +8,11 @@ public class BingoEvent {
|
||||
|
||||
private boolean done = false;
|
||||
|
||||
private final long age;
|
||||
|
||||
public BingoEvent() {
|
||||
this.entries = new HashMap<>();
|
||||
age = System.currentTimeMillis();
|
||||
}
|
||||
|
||||
public HashMap<String, Integer> getEntries() {
|
||||
@@ -43,4 +46,8 @@ public class BingoEvent {
|
||||
public void setDone() {
|
||||
this.done = true;
|
||||
}
|
||||
|
||||
public long getAge() {
|
||||
return this.age;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user