aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0719-Add-methods-to-find-targets-for-lightning-strikes.patch
diff options
context:
space:
mode:
authorJake Potrebic <[email protected]>2022-01-12 13:39:20 -0800
committerGitHub <[email protected]>2022-01-12 13:39:20 -0800
commit0c64d401aaa5e297f1d72b91370d24c947e19d99 (patch)
tree99f104d0e2a3b680d854a0be94c25812dc1a00ad /patches/server/0719-Add-methods-to-find-targets-for-lightning-strikes.patch
parentebaca20edd9f46a53e06f4ab781a9de71757cd61 (diff)
downloadPaper-0c64d401aaa5e297f1d72b91370d24c947e19d99.tar.gz
Paper-0c64d401aaa5e297f1d72b91370d24c947e19d99.zip
Updated Upstream (Bukkit/CraftBukkit) (#7323)
Diffstat (limited to 'patches/server/0719-Add-methods-to-find-targets-for-lightning-strikes.patch')
-rw-r--r--patches/server/0719-Add-methods-to-find-targets-for-lightning-strikes.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0719-Add-methods-to-find-targets-for-lightning-strikes.patch b/patches/server/0719-Add-methods-to-find-targets-for-lightning-strikes.patch
index 166bb4006d..b1bb45ca5c 100644
--- a/patches/server/0719-Add-methods-to-find-targets-for-lightning-strikes.patch
+++ b/patches/server/0719-Add-methods-to-find-targets-for-lightning-strikes.patch
@@ -5,7 +5,7 @@ Subject: [PATCH] Add methods to find targets for lightning strikes
diff --git a/src/main/java/net/minecraft/server/level/ServerLevel.java b/src/main/java/net/minecraft/server/level/ServerLevel.java
-index 4f3719e77e008cbd3d2bd9262a03a526000bc837..cd262cbe8f5f9588dd1d9fcd308eeb0418f54922 100644
+index d4129cb5ffa6bea474020c47b82d8905d1f4d9f5..df37739055bc705d9aebf8db4ee2007e366af7dd 100644
--- a/src/main/java/net/minecraft/server/level/ServerLevel.java
+++ b/src/main/java/net/minecraft/server/level/ServerLevel.java
@@ -751,6 +751,11 @@ public class ServerLevel extends Level implements WorldGenLevel {
@@ -29,10 +29,10 @@ index 4f3719e77e008cbd3d2bd9262a03a526000bc837..cd262cbe8f5f9588dd1d9fcd308eeb04
blockposition1 = blockposition1.above(2);
}
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
-index b4a1346eb90864c1eeb46b22a61f3adcd352aa19..f7d94cb32a178247bbc5f59e5bc31e79f9fcdc4d 100644
+index 7821ebcbae8c63c3607d2ac8f92cb5a55a62bd97..246a25d76c26302833f86a2c329a9a0d738af707 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
-@@ -693,6 +693,23 @@ public class CraftWorld extends CraftRegionAccessor implements World {
+@@ -695,6 +695,23 @@ public class CraftWorld extends CraftRegionAccessor implements World {
return (LightningStrike) lightning.getBukkitEntity();
}