add kick-kicked-players
This commit is contained in:
+5
@@ -174,6 +174,11 @@ public class VelocityPlayer implements AdaptedPlayer, Audience {
|
||||
return handle.getUsername();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void kick(Component reason) {
|
||||
handle.disconnect(reason);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<String> getPermissions() {
|
||||
throw new IllegalStateException("AdaptedPlayer#getPermissions cannot be used on velocity");
|
||||
|
||||
Reference in New Issue
Block a user