Suppress unusued warning
This commit is contained in:
parent
0fa73fb409
commit
f16ea4159d
@ -60,16 +60,19 @@ public class OverdriveThatMatters {
|
||||
private static final WeakHashMap<Level, ArrayList<Consumer<Level>>> tick_once = new WeakHashMap<>();
|
||||
|
||||
@SubscribeEvent(priority = EventPriority.HIGHEST)
|
||||
@SuppressWarnings("unused")
|
||||
public void onServerStarting(ServerAboutToStartEvent event) {
|
||||
tick_until.clear();
|
||||
}
|
||||
|
||||
@SubscribeEvent(priority = EventPriority.HIGHEST)
|
||||
@SuppressWarnings("unused")
|
||||
public void onServerStopping(ServerStoppingEvent event) {
|
||||
tick_until.clear();
|
||||
}
|
||||
|
||||
@SubscribeEvent(priority = EventPriority.LOWEST)
|
||||
@SuppressWarnings("unused")
|
||||
public void onPreTick(TickEvent.WorldTickEvent event) {
|
||||
if (event.phase != TickEvent.Phase.START || event.side != LogicalSide.SERVER)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user