diff --git a/Spigot-Server-Patches/Water-mobs-should-only-spawn-in-the-water.patch b/Spigot-Server-Patches/Water-mobs-should-only-spawn-in-the-water.patch index 18164c9a35..c75b369576 100644 --- a/Spigot-Server-Patches/Water-mobs-should-only-spawn-in-the-water.patch +++ b/Spigot-Server-Patches/Water-mobs-should-only-spawn-in-the-water.patch @@ -18,9 +18,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + int i = MathHelper.floor(this.locX); + int j = MathHelper.floor(this.getBoundingBox().b); // minY of bounding box + int k = MathHelper.floor(this.locZ); -+ Block below = this.world.getType(new BlockPosition(i, j, k).down()).getBlock(); ++ Block block = this.world.getType(new BlockPosition(i, j, k)).getBlock(); + -+ return below == Blocks.WATER || below == Blocks.FLOWING_WATER; ++ return block == Blocks.WATER || block == Blocks.FLOWING_WATER; + // Paper end }