mirror of
https://github.com/SPAWNRYS-ban/FUCK-CustomDiscs.git
synced 2025-12-13 23:09:43 +05:00
Fixed Issues with Hoppers
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user