Fixed Issues with Hoppers

This commit is contained in:
Navoei
2024-06-16 17:05:56 -05:00
parent 0d03507d5e
commit faf480f818
3 changed files with 12 additions and 21 deletions

View File

@@ -83,7 +83,9 @@ public class PlayerManager {
}
audioPlayer.setOnStopped(() -> {
//Stuff that runs once the audio player ends.
//Stop the vanilla disc if it is playing. This ensures the hopper will pickup the disc.
Bukkit.getScheduler().runTask(CustomDiscs.getInstance(), () -> HopperManager.instance().discToHopper(block));
playerMap.remove(id);