From 9a7f5225a83c796504a96465e23c129801a739a5 Mon Sep 17 00:00:00 2001 From: Aaron Date: Fri, 8 Nov 2024 22:03:05 +0100 Subject: [PATCH] fix(bukkit): check right class --- .../src/main/java/me/lucko/spark/bukkit/BukkitSparkPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spark-bukkit/src/main/java/me/lucko/spark/bukkit/BukkitSparkPlugin.java b/spark-bukkit/src/main/java/me/lucko/spark/bukkit/BukkitSparkPlugin.java index affb5436..301ce41e 100644 --- a/spark-bukkit/src/main/java/me/lucko/spark/bukkit/BukkitSparkPlugin.java +++ b/spark-bukkit/src/main/java/me/lucko/spark/bukkit/BukkitSparkPlugin.java @@ -176,7 +176,7 @@ public TickHook createTickHook() { @Override public TickReporter createTickReporter() { - if (classExists("com.destroystokyo.paper.event.server.ServerTickStartEvent")) { + if (classExists("com.destroystokyo.paper.event.server.ServerTickEndEvent")) { return new PaperTickReporter(this); } return null;