From 55959488a919612ffa80ec856661ce008acfb744 Mon Sep 17 00:00:00 2001 From: speakeasy Date: Sat, 15 Jan 2011 09:19:54 +0800 Subject: Added kick player --- src/main/java/org/bukkit/craftbukkit/CraftPlayer.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/main/java/org/bukkit') diff --git a/src/main/java/org/bukkit/craftbukkit/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/CraftPlayer.java index a223deb5..ea562fef 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftPlayer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftPlayer.java @@ -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); + } + } -- cgit v1.2.3