diff options
Diffstat (limited to 'patches/server/0675-Fix-falling-block-spawn-methods.patch')
-rw-r--r-- | patches/server/0675-Fix-falling-block-spawn-methods.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0675-Fix-falling-block-spawn-methods.patch b/patches/server/0675-Fix-falling-block-spawn-methods.patch index f281704362..978a204209 100644 --- a/patches/server/0675-Fix-falling-block-spawn-methods.patch +++ b/patches/server/0675-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 8670f660d599b2265b4b7e56102b7cfc0c58bd72..780a9f0220018eda9e67f0ce9f27adea643f3f82 100644 +index 110a5d92d6154bc39c1916006a5cb74798092445..a1912eb5fd26898d7e9848ffb2052fce2fa10868 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java -@@ -1389,7 +1389,12 @@ public class CraftWorld extends CraftRegionAccessor implements World { +@@ -1393,7 +1393,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 8670f660d599b2265b4b7e56102b7cfc0c58bd72..780a9f0220018eda9e67f0ce9f27adea return (FallingBlock) entity.getBukkitEntity(); } -@@ -1398,7 +1403,12 @@ public class CraftWorld extends CraftRegionAccessor implements World { +@@ -1402,7 +1407,12 @@ public class CraftWorld extends CraftRegionAccessor implements World { Preconditions.checkArgument(location != null, "Location cannot be null"); Preconditions.checkArgument(data != null, "BlockData cannot be null"); |