diff --git a/changelog.md b/changelog.md index 23d0c116b1..21ab1a90ce 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,11 @@ +------------------------------------------------------ +Create 6.0.2 +------------------------------------------------------ + +#### Bug Fixes + +- Fix warning getting logged when cc: tweaked isn't installed + ------------------------------------------------------ Create 6.0.1 ------------------------------------------------------ diff --git a/src/main/java/com/simibubi/create/AllDisplaySources.java b/src/main/java/com/simibubi/create/AllDisplaySources.java index 9610edc9e6..cd5d4cbda8 100644 --- a/src/main/java/com/simibubi/create/AllDisplaySources.java +++ b/src/main/java/com/simibubi/create/AllDisplaySources.java @@ -88,6 +88,9 @@ public class AllDisplaySources { public static final RegistryEntry COMPUTER = REGISTRATE.displaySource("computer", ComputerDisplaySource::new) .onRegisterAfter(Registries.BLOCK_ENTITY_TYPE, source -> { + if (!Mods.COMPUTERCRAFT.isLoaded()) + return; + List types = List.of("wired_modem_full", "computer_normal", "computer_advanced", "computer_command"); for (String name : types) { ResourceLocation id = Mods.COMPUTERCRAFT.rl(name);