mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-20 10:55:08 +01:00
Merge branch 'development' into plugin-priority
This commit is contained in:
@@ -1,9 +1,23 @@
|
||||
package emu.grasscutter.server.event.game;
|
||||
|
||||
import emu.grasscutter.server.event.types.ServerEvent;
|
||||
import java.time.Instant;
|
||||
|
||||
public final class ServerTickEvent extends ServerEvent {
|
||||
public ServerTickEvent() {
|
||||
private final Instant start, end;
|
||||
|
||||
public ServerTickEvent(Instant start, Instant end) {
|
||||
super(Type.GAME);
|
||||
|
||||
this.start = start;
|
||||
this.end = end;
|
||||
}
|
||||
}
|
||||
|
||||
public Instant getTickStart() {
|
||||
return this.start;
|
||||
}
|
||||
|
||||
public Instant getTickEnd() {
|
||||
return this.end;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user