mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Added kick player
This commit is contained in:
1 parent
0318cfc746
commit
55959488a9
1 file changed
+5
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user