Give bee counts in beehives to Purpur clients

This commit is contained in:
BillyGalbreath
2025-01-12 14:11:28 -08:00
committed by granny
parent 64c235a806
commit 3507102ce2
7 changed files with 129 additions and 186 deletions

View File

@@ -47,11 +47,12 @@
// CraftBukkit start
// this.setPlayerList(new DedicatedPlayerList(this, this.registries(), this.playerDataStorage)); // Spigot - moved up
@@ -350,6 +_,7 @@
@@ -350,6 +_,8 @@
LOGGER.info("JMX monitoring enabled");
}
+ org.purpurmc.purpur.task.BossBarTask.startAll(); // Purpur - Implement TPSBar
+ if (org.purpurmc.purpur.PurpurConfig.beeCountPayload) org.purpurmc.purpur.task.BeehiveTask.instance().register(); // Purpur - Give bee counts in beehives to Purpur clients
return true;
}
}