diff --git a/neoforge/src/main/java/net/irisshaders/iris/platform/IrisForgeHelpers.java b/neoforge/src/main/java/net/irisshaders/iris/platform/IrisForgeHelpers.java index 4bf0a128a..a15a5653b 100644 --- a/neoforge/src/main/java/net/irisshaders/iris/platform/IrisForgeHelpers.java +++ b/neoforge/src/main/java/net/irisshaders/iris/platform/IrisForgeHelpers.java @@ -20,6 +20,8 @@ public boolean isModLoaded(String modId) { return LoadingModList.get().getModFileById(modId) != null; } + boolean HAS_CAMO = isModLoaded("cable_facades"); + @Override public String getVersion() { return LoadingModList.get().getModFileById(Iris.MODID).versionString(); @@ -56,8 +58,9 @@ public boolean useELS() { return true; } + // TODO find a way to do this without breaking Cable Facades... @Override public BlockState getBlockAppearance(BlockAndTintGetter level, BlockState state, Direction cullFace, BlockPos pos) { - return state.getAppearance(level, pos, cullFace, null, null); + return state; } }