Added kick player

By: speakeasy <mekevin1917@gmail.com>
This commit is contained in:
CraftBukkit/Spigot 2011-01-15 09:19:54 +08:00
parent c9f019f68c
commit 6f436eaf31

View file

@ -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);
}
}