diff --git a/nms-patches/EntityPlayer.patch b/nms-patches/EntityPlayer.patch index 41f465a2f4..4c220e70b3 100644 --- a/nms-patches/EntityPlayer.patch +++ b/nms-patches/EntityPlayer.patch @@ -540,7 +540,7 @@ this.lastFoodSent = -1; + + // CraftBukkit start -+ PlayerChangedWorldEvent changeEvent = new PlayerChangedWorldEvent(this.getBukkitEntity(), worldserver.getWorld()); ++ PlayerChangedWorldEvent changeEvent = new PlayerChangedWorldEvent(this.getBukkitEntity(), worldserver1.getWorld()); + this.world.getServer().getPluginManager().callEvent(changeEvent); + // CraftBukkit end return this;