mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-31 22:30:15 +00: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