diff --git a/Plugins/Mineplex.Core/src/mineplex/core/gadget/set/suits/SetWindup.java b/Plugins/Mineplex.Core/src/mineplex/core/gadget/set/suits/SetWindup.java index f3a8a8ac9..cdcfc7784 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/gadget/set/suits/SetWindup.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/gadget/set/suits/SetWindup.java @@ -183,7 +183,7 @@ public class SetWindup extends GadgetSet if (_song != null) { - data.NotePlayer = new SingleRunNotePlayer(_song, player); + data.NotePlayer = new SingleRunNotePlayer(_song, player).start(); } } // Effect is charging diff --git a/Plugins/Mineplex.Core/src/mineplex/core/noteblock/SingleRunNotePlayer.java b/Plugins/Mineplex.Core/src/mineplex/core/noteblock/SingleRunNotePlayer.java index 0154fb586..7e03165df 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/noteblock/SingleRunNotePlayer.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/noteblock/SingleRunNotePlayer.java @@ -41,12 +41,14 @@ public class SingleRunNotePlayer extends LoopedNotePlayer lifetime.register(this); } - public void start() + public SingleRunNotePlayer start() { if (!_lifetime.isActive()) { _lifetime.start(); } + + return this; } public void end()