From e19ec10b7fc1a07a6311429fb0ac46ae750e7f08 Mon Sep 17 00:00:00 2001 From: LexManos Date: Sat, 11 May 2013 12:16:37 -0700 Subject: [PATCH] Fire EntityJoinWorled event for forced entities {Players and there mounts} as well, just ignore the cancelled value. --- patches/minecraft/net/minecraft/world/World.java.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/minecraft/net/minecraft/world/World.java.patch b/patches/minecraft/net/minecraft/world/World.java.patch index 4b1b31026d..368af8111a 100644 --- a/patches/minecraft/net/minecraft/world/World.java.patch +++ b/patches/minecraft/net/minecraft/world/World.java.patch @@ -199,7 +199,7 @@ this.updateAllPlayersSleepingFlag(); + } + -+ if (!flag && MinecraftForge.EVENT_BUS.post(new EntityJoinWorldEvent(par1Entity, this))) ++ if (MinecraftForge.EVENT_BUS.post(new EntityJoinWorldEvent(par1Entity, this)) && !flag) + { + return false; }