mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-05-18 23:50:35 +00:00
fix compile
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user