summaryrefslogtreecommitdiffstats
path: root/nms-patches/WorldServer.patch
diff options
context:
space:
mode:
authorThinkofname <thinkofdeath@spigotmc.org>2016-04-17 17:47:51 +0100
committerThinkofname <thinkofdeath@spigotmc.org>2016-04-17 17:47:51 +0100
commitb70058afa240034895eb061b123643a708a53480 (patch)
tree64dde73ee0b296967d21d7ec345ef504ae8520fd /nms-patches/WorldServer.patch
parentf6313791d0f8575e4a3a35c11145f794b8acedd4 (diff)
downloadcraftbukkit-b70058afa240034895eb061b123643a708a53480.tar
craftbukkit-b70058afa240034895eb061b123643a708a53480.tar.gz
craftbukkit-b70058afa240034895eb061b123643a708a53480.tar.lz
craftbukkit-b70058afa240034895eb061b123643a708a53480.tar.xz
craftbukkit-b70058afa240034895eb061b123643a708a53480.zip
SPIGOT-2191: Fix a missed diff from 1.8.8
Diffstat (limited to 'nms-patches/WorldServer.patch')
-rw-r--r--nms-patches/WorldServer.patch7
1 files changed, 5 insertions, 2 deletions
diff --git a/nms-patches/WorldServer.patch b/nms-patches/WorldServer.patch
index f9dc2e92..90979679 100644
--- a/nms-patches/WorldServer.patch
+++ b/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 @@
}