diff options
Diffstat (limited to 'patches/server/0805-Fix-falling-block-spawn-methods.patch')
-rw-r--r-- | patches/server/0805-Fix-falling-block-spawn-methods.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0805-Fix-falling-block-spawn-methods.patch b/patches/server/0805-Fix-falling-block-spawn-methods.patch index cbb73d92ca..574c589e62 100644 --- a/patches/server/0805-Fix-falling-block-spawn-methods.patch +++ b/patches/server/0805-Fix-falling-block-spawn-methods.patch @@ -24,10 +24,10 @@ index cc3a90a3337b7d59e4377a1e2448f17a23604e57..b69df51f2a1eec62792e193f64a1815a if (Snowball.class.isAssignableFrom(clazz)) { entity = new net.minecraft.world.entity.projectile.Snowball(world, x, y, z); diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java -index fda4f367da3942fdf59a4a34ea73c6107c9ca465..75a8c83779f97c430815964e09f1c3ea61ff4659 100644 +index 1d50e5ace7035873523ca16d683b196732176ea5..9a0542c06ae30361ac6139bdf02d0464c8a53e7b 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java -@@ -1390,7 +1390,12 @@ public class CraftWorld extends CraftRegionAccessor implements World { +@@ -1392,7 +1392,12 @@ public class CraftWorld extends CraftRegionAccessor implements World { Validate.notNull(material, "Material cannot be null"); Validate.isTrue(material.isBlock(), "Material must be a block"); @@ -41,7 +41,7 @@ index fda4f367da3942fdf59a4a34ea73c6107c9ca465..75a8c83779f97c430815964e09f1c3ea return (FallingBlock) entity.getBukkitEntity(); } -@@ -1399,7 +1404,12 @@ public class CraftWorld extends CraftRegionAccessor implements World { +@@ -1401,7 +1406,12 @@ public class CraftWorld extends CraftRegionAccessor implements World { Validate.notNull(location, "Location cannot be null"); Validate.notNull(data, "BlockData cannot be null"); |