diff options
Diffstat (limited to 'patches/server/0688-Fix-falling-block-spawn-methods.patch')
-rw-r--r-- | patches/server/0688-Fix-falling-block-spawn-methods.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0688-Fix-falling-block-spawn-methods.patch b/patches/server/0688-Fix-falling-block-spawn-methods.patch index 1f5d0c19cc..07e93db950 100644 --- a/patches/server/0688-Fix-falling-block-spawn-methods.patch +++ b/patches/server/0688-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 e31794510cb204fa1360803050d25d0e226785e2..193b544d1fea692d9948e00c72aa566836c2a4d2 100644 +index 7e9344fdafb01030061458c55ccf6836bf643da3..a9106f4777d05928d432e14e4998fd06df5a0786 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java -@@ -1425,7 +1425,12 @@ public class CraftWorld extends CraftRegionAccessor implements World { +@@ -1450,7 +1450,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 e31794510cb204fa1360803050d25d0e226785e2..193b544d1fea692d9948e00c72aa5668 return (FallingBlock) entity.getBukkitEntity(); } -@@ -1434,7 +1439,12 @@ public class CraftWorld extends CraftRegionAccessor implements World { +@@ -1459,7 +1464,12 @@ public class CraftWorld extends CraftRegionAccessor implements World { Preconditions.checkArgument(location != null, "Location cannot be null"); Preconditions.checkArgument(data != null, "BlockData cannot be null"); |