Preheat your oven to 350°F (175°C) and grease a 9x13-inch baking dish.
In a large mixing bowl, whisk together the melted butter, sugar, eggs, milk, and cream until well combined.
In a separate bowl, mix the flour, baking powder, salt, pepper, and nutmeg (if using).
Slowly add the dry ingredients into the wet mixture, stirring until smooth and well combined.
Fold in the corn kernels until evenly distributed.
Pour the corn mixture into the prepared baking dish and spread it out evenly.
Bake for 45-50 minutes, or until the top is golden and the center is set. The pudding should be firm but still soft and slightly custardy.
Allow it to cool for a few minutes before serving.