mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-01-12 23:37:29 +01:00
Heavens, no!
- Hotfix track placement not working when aether is not installed
This commit is contained in:
parent
8be9b2dd0c
commit
52efa49914
2 changed files with 4 additions and 1 deletions
|
@ -14,6 +14,7 @@ import net.minecraftforge.registries.ForgeRegistries;
|
|||
* For compatibility with and without another mod present, we have to define load conditions of the specific code
|
||||
*/
|
||||
public enum Mods {
|
||||
AETHER,
|
||||
COMPUTERCRAFT,
|
||||
CONNECTIVITY,
|
||||
CURIOS,
|
||||
|
|
|
@ -3,6 +3,7 @@ package com.simibubi.create.content.trains.track;
|
|||
import java.util.function.Function;
|
||||
import java.util.function.UnaryOperator;
|
||||
|
||||
import com.simibubi.create.compat.Mods;
|
||||
import com.simibubi.create.content.contraptions.glue.SuperGlueEntity;
|
||||
import com.simibubi.create.foundation.utility.AttachedRegistry;
|
||||
import com.simibubi.create.foundation.utility.BlockFace;
|
||||
|
@ -60,6 +61,7 @@ public class AllPortalTracks {
|
|||
|
||||
public static void registerDefaults() {
|
||||
registerIntegration(Blocks.NETHER_PORTAL, AllPortalTracks::nether);
|
||||
if (Mods.AETHER.isLoaded())
|
||||
registerIntegration(new ResourceLocation("aether", "aether_portal"), AllPortalTracks::aether);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue