diff --git a/src/main/java/net/lizistired/cavedust/CaveDustConfig.java b/src/main/java/net/lizistired/cavedust/CaveDustConfig.java index 8380e0b..ceea361 100644 --- a/src/main/java/net/lizistired/cavedust/CaveDustConfig.java +++ b/src/main/java/net/lizistired/cavedust/CaveDustConfig.java @@ -164,7 +164,7 @@ public class CaveDustConfig extends JsonFile { public ParticleEffect getParticle(){ try { - return (ParticleEffect) Registry.PARTICLE_TYPE.get(Identifier.tryParse(particleName.toLowerCase())); + return (ParticleEffect) Registry.PARTICLE_TYPE.get(new Identifier(particleName.toLowerCase())); } catch (ClassCastException e) { LOGGER.error(e + "\nThere was an error loading the specified particle from the config, make sure a valid particle name is specified. Falling back to \"minecraft:white_ash\"."); particleName = "minecraft:white_ash"; diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 3ed2f8c..ce85629 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -28,7 +28,7 @@ "depends": { "fabricloader": ">=0.12.11", "fabric": "*", - "minecraft": "1.18.x", + "minecraft": "<=1.18.1", "java": ">=17" }, "suggests": {