From 8fe634523c04c9ba669d23633c599b6957d235e6 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Sun, 17 Apr 2016 17:47:51 +0100 Subject: [PATCH] SPIGOT-2191: Fix a missed diff from 1.8.8 By: Thinkofname --- paper-server/nms-patches/WorldServer.patch | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/paper-server/nms-patches/WorldServer.patch b/paper-server/nms-patches/WorldServer.patch index f9dc2e9254..9097967962 100644 --- a/paper-server/nms-patches/WorldServer.patch +++ b/paper-server/nms-patches/WorldServer.patch @@ -542,7 +542,7 @@ return false; } -@@ -900,6 +1127,14 @@ +@@ -900,8 +1127,16 @@ } public boolean strikeLightning(Entity entity) { @@ -555,8 +555,11 @@ + } + // CraftBukkit end if (super.strikeLightning(entity)) { - this.server.getPlayerList().sendPacketNearby((EntityHuman) null, entity.locX, entity.locY, entity.locZ, 512.0D, this.worldProvider.getDimensionManager().getDimensionID(), new PacketPlayOutSpawnEntityWeather(entity)); +- this.server.getPlayerList().sendPacketNearby((EntityHuman) null, entity.locX, entity.locY, entity.locZ, 512.0D, this.worldProvider.getDimensionManager().getDimensionID(), new PacketPlayOutSpawnEntityWeather(entity)); ++ this.server.getPlayerList().sendPacketNearby((EntityHuman) null, entity.locX, entity.locY, entity.locZ, 512.0D, dimension, new PacketPlayOutSpawnEntityWeather(entity)); // CraftBukkit - Use dimension return true; + } else { + return false; @@ -917,10 +1152,20 @@ }