aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0663-Fix-falling-block-spawn-methods.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0663-Fix-falling-block-spawn-methods.patch')
-rw-r--r--patches/server/0663-Fix-falling-block-spawn-methods.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0663-Fix-falling-block-spawn-methods.patch b/patches/server/0663-Fix-falling-block-spawn-methods.patch
index 577c742f03..bf697e1042 100644
--- a/patches/server/0663-Fix-falling-block-spawn-methods.patch
+++ b/patches/server/0663-Fix-falling-block-spawn-methods.patch
@@ -11,10 +11,10 @@ Restores the API behavior from previous versions of the server
public net.minecraft.world.entity.item.FallingBlockEntity <init>(Lnet/minecraft/world/level/Level;DDDLnet/minecraft/world/level/block/state/BlockState;)V
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
-index 83771925dc7009d56fc3c8283d75880c7e61296a..9b7304ea9a4f226872d13e64722adb267f727806 100644
+index 085b5a185a8470600e88d68f4fedfee8bae2b28a..d5675c1aec7d4b1a426cff55c8cac2decac6ec0a 100644
--- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
+++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java
-@@ -1385,7 +1385,12 @@ public class CraftWorld extends CraftRegionAccessor implements World {
+@@ -1386,7 +1386,12 @@ public class CraftWorld extends CraftRegionAccessor implements World {
Preconditions.checkArgument(material != null, "Material cannot be null");
Preconditions.checkArgument(material.isBlock(), "Material.%s must be a block", material);
@@ -28,7 +28,7 @@ index 83771925dc7009d56fc3c8283d75880c7e61296a..9b7304ea9a4f226872d13e64722adb26
return (FallingBlock) entity.getBukkitEntity();
}
-@@ -1394,7 +1399,12 @@ public class CraftWorld extends CraftRegionAccessor implements World {
+@@ -1395,7 +1400,12 @@ public class CraftWorld extends CraftRegionAccessor implements World {
Preconditions.checkArgument(location != null, "Location cannot be null");
Preconditions.checkArgument(data != null, "BlockData cannot be null");