summaryrefslogtreecommitdiffstats
path: root/src/main/java/net
diff options
context:
space:
mode:
authorstevenh <steven.hartland@multiplay.co.uk>2011-01-30 19:42:39 +0000
committerstevenh <steven.hartland@multiplay.co.uk>2011-01-30 19:42:39 +0000
commit0bc5bd54bd8fc6167377a70c4d997b4e67b7fe90 (patch)
tree8e24de1ea81ee2a5472e3153ce4ee1a909dcb642 /src/main/java/net
parent6c60b54fdf92d4470228ac16c80e4b6743407692 (diff)
downloadcraftbukkit-0bc5bd54bd8fc6167377a70c4d997b4e67b7fe90.tar
craftbukkit-0bc5bd54bd8fc6167377a70c4d997b4e67b7fe90.tar.gz
craftbukkit-0bc5bd54bd8fc6167377a70c4d997b4e67b7fe90.tar.lz
craftbukkit-0bc5bd54bd8fc6167377a70c4d997b4e67b7fe90.tar.xz
craftbukkit-0bc5bd54bd8fc6167377a70c4d997b4e67b7fe90.zip
Fixed missing PLAYER_JOIN event call
Diffstat (limited to 'src/main/java/net')
-rw-r--r--src/main/java/net/minecraft/server/ServerConfigurationManager.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/ServerConfigurationManager.java b/src/main/java/net/minecraft/server/ServerConfigurationManager.java
index e828c4dd..61c02e4b 100644
--- a/src/main/java/net/minecraft/server/ServerConfigurationManager.java
+++ b/src/main/java/net/minecraft/server/ServerConfigurationManager.java
@@ -75,6 +75,9 @@ public class ServerConfigurationManager {
this.c.e.a(entityplayer);
this.d.a(entityplayer);
+
+ // CraftBukkit
+ server.getPluginManager().callEvent(new PlayerEvent(PlayerEvent.Type.PLAYER_JOIN, server.getPlayer(entityplayer)));
}
public void b(EntityPlayer entityplayer) {