mirror of
https://github.com/Coloryr/AllMusic.git
synced 2026-11-21 06:52:15 +00:00
Update EventVelocity.java
This commit is contained in:
1 parent
61cc8b1983
commit
f2d98a3a38
1 file changed
+2
-2
@@ -3,7 +3,7 @@ package Color_yr.AllMusic.side.sideVelocity;
|
||||
import Color_yr.AllMusic.AllMusic;
|
||||
import com.velocitypowered.api.event.Subscribe;
|
||||
import com.velocitypowered.api.event.connection.DisconnectEvent;
|
||||
import net.md_5.bungee.api.event.PostLoginEvent;
|
||||
import com.velocitypowered.api.event.connection.PostLoginEvent;
|
||||
|
||||
public class EventVelocity {
|
||||
@Subscribe
|
||||
@@ -13,6 +13,6 @@ public class EventVelocity {
|
||||
|
||||
@Subscribe
|
||||
public void onPostLoginEvent(final PostLoginEvent event) {
|
||||
AllMusic.removeNowPlayPlayer(event.getPlayer().getName());
|
||||
AllMusic.removeNowPlayPlayer(event.getPlayer().getUsername());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user