Update EventVelocity.java

This commit is contained in:
Color_yr committed 2021-11-20 21:27:53 +08:00
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());
}
}