Update AllMusicForge.java

This commit is contained in:
Coloryr committed 2024-06-13 11:33:54 +08:00
1 parent b8ad2b7ca7
commit 2366d3ec61
1 file changed
+6 -6
@@ -69,12 +69,12 @@ public class AllMusicForge {
AllMusic.removeNowPlayPlayer(event.player.getCommandSenderName());
}
// @SubscribeEvent
// public void onServerTickEvent(TickEvent.ServerTickEvent event) {
// if (event.phase == TickEvent.Phase.END) {
// Tasks.tick();
// }
// }
@SubscribeEvent
public void onServerTickEvent(TickEvent.ServerTickEvent event) {
if (event.phase == TickEvent.Phase.END) {
Tasks.tick();
}
}
@SubscribeEvent
public void onPlayerLoggedIn(PlayerEvent.PlayerLoggedInEvent event) {