Fix Warehouse.loot looking up the template by enum instead of template id

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
MagicBotandClaude Opus 5.5 committed 2026-10-17 14:06:10 -04:00
1 parent 2a2c528981
commit 42a1c8a532
1 file changed
+1 -1
+1 -1
View File
@@ -498,7 +498,7 @@ public class Warehouse {
if (playerCharacter == null)
return false;
ItemTemplate template = ItemTemplate.templates.get(resourceType);
ItemTemplate template = ItemTemplate.templates.get(resourceType.templateID);
if (template == null)
return false;