Fixed bugs related to discs not going to into hoppers. Particles now show for the entire duration of a custom song.

This commit is contained in:
Navoei
2023-04-01 22:18:54 -05:00
parent b48f14b388
commit a70445f383
6 changed files with 107 additions and 1 deletions

View File

@@ -83,6 +83,9 @@ public class PlayerManager {
}
audioPlayer.setOnStopped(() -> {
Bukkit.getScheduler().runTask(CustomDiscs.getInstance(), () -> HopperManager.instance().discToHopper(block));
playerMap.remove(id);
});