mirror of
https://github.com/songoda/EpicFarming.git
synced 2025-02-18 21:41:31 +01:00
Fix missing constructor
This commit is contained in:
parent
0ae6292975
commit
eb999f41cb
@ -11,6 +11,13 @@ public class BoostData implements Data {
|
||||
private final long endTime;
|
||||
private final UUID player;
|
||||
|
||||
// Default constructor for deserialization
|
||||
public BoostData() {
|
||||
this.multiplier = 0;
|
||||
this.endTime = 0;
|
||||
this.player = null;
|
||||
}
|
||||
|
||||
public BoostData(int multiplier, long endTime, UUID player) {
|
||||
this.multiplier = multiplier;
|
||||
this.endTime = endTime;
|
||||
|
Loading…
Reference in New Issue
Block a user