mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-15 12:02:49 +01:00
Added kick player
This commit is contained in:
parent
0318cfc746
commit
55959488a9
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…
Add table
Reference in a new issue