diff --git a/Nautilus/Handlers/LootDistributionHandler.cs b/Nautilus/Handlers/LootDistributionHandler.cs
index 590872928..00f180b76 100644
--- a/Nautilus/Handlers/LootDistributionHandler.cs
+++ b/Nautilus/Handlers/LootDistributionHandler.cs
@@ -95,6 +95,8 @@ public static void AddLootDistributionData(string classId, LootDistributionData.
/// The dictating how the prefab should spawn in the world.
public static void AddLootDistributionData(string classId, params LootDistributionData.BiomeData[] biomeDistribution)
{
+ CraftData.PreparePrefabIDCache();
+
if (!PrefabDatabase.TryGetPrefabFilename(classId, out var filename))
{
InternalLogger.Error($"Could not find prefab file path for class ID '{classId}'. Cancelling loot distribution addition.");
@@ -112,6 +114,8 @@ public static void AddLootDistributionData(string classId, params LootDistributi
/// The dictating how the prefab should spawn in the world.
public static void AddLootDistributionData(string classId, WorldEntityInfo info, params LootDistributionData.BiomeData[] biomeDistribution)
{
+ CraftData.PreparePrefabIDCache();
+
if (!PrefabDatabase.TryGetPrefabFilename(classId, out var filename))
{
InternalLogger.Error($"Could not find prefab file path for class ID '{classId}'. Cancelling loot distribution addition.");