mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-02 11:22:01 +01:00
Added kick player
By: speakeasy <mekevin1917@gmail.com>
This commit is contained in:
parent
c9f019f68c
commit
6f436eaf31
@ -94,4 +94,9 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
hash = 97 * hash + (this.getName() != null ? this.getName().hashCode() : 0);
|
||||
return hash;
|
||||
}
|
||||
|
||||
public void kickPlayer(String message) {
|
||||
entity.a.a(message);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user