mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +01:00
Added kick player
By: speakeasy <mekevin1917@gmail.com>
This commit is contained in:
parent
c9f019f68c
commit
6f436eaf31
1 changed files with 5 additions and 0 deletions
|
@ -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 a new issue