Merge branch 'development' into plugin-priority

This commit is contained in:
Magix
2022-06-23 00:06:31 -04:00
committed by GitHub
9 changed files with 450 additions and 53 deletions

View File

@@ -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;
}
}