fix compile

This commit is contained in:
Julian Krings
2026-04-12 11:58:33 +02:00
parent cddd6b16d6
commit e7d89cadd8
@@ -79,7 +79,7 @@ public class CraftEngineDataProvider extends ExternalDataProvider {
var key = Key.of(blockId.namespace(), blockId.key()); var key = Key.of(blockId.namespace(), blockId.key());
if (CraftEngineBlocks.byId(key) == null && CraftEngineFurniture.byId(key) == null) if (CraftEngineBlocks.byId(key) == null && CraftEngineFurniture.byId(key) == null)
throw new MissingResourceException("Failed to find BlockData!", blockId.namespace(), blockId.key()); throw new MissingResourceException("Failed to find BlockData!", blockId.namespace(), blockId.key());
return new IrisCustomData(B.getAir(), ExternalDataSVC.buildState(blockId, state)); return IrisCustomData.of(B.getAir(), ExternalDataSVC.buildState(blockId, state));
} }
@Override @Override