From 0bc5bd54bd8fc6167377a70c4d997b4e67b7fe90 Mon Sep 17 00:00:00 2001 From: stevenh Date: Sun, 30 Jan 2011 19:42:39 +0000 Subject: [PATCH] Fixed missing PLAYER_JOIN event call --- .../java/net/minecraft/server/ServerConfigurationManager.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/net/minecraft/server/ServerConfigurationManager.java b/src/main/java/net/minecraft/server/ServerConfigurationManager.java index e828c4ddb5..61c02e4b0b 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) {