From 566fb6c498d571281c94029f8dfbac5e5077600c Mon Sep 17 00:00:00 2001 From: isXander Date: Wed, 12 Jun 2024 17:15:09 +0100 Subject: Changelog and minor changes --- .../java/dev/isxander/yacl3/platform/YACLPlatform.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/main/java/dev/isxander/yacl3/platform') diff --git a/src/main/java/dev/isxander/yacl3/platform/YACLPlatform.java b/src/main/java/dev/isxander/yacl3/platform/YACLPlatform.java index 514c964..490a5fa 100644 --- a/src/main/java/dev/isxander/yacl3/platform/YACLPlatform.java +++ b/src/main/java/dev/isxander/yacl3/platform/YACLPlatform.java @@ -15,11 +15,11 @@ import java.nio.file.Path; public final class YACLPlatform { public static ResourceLocation parseRl(String rl) { - /*? if >1.20.6 {*//* + /*? if >1.20.6 {*/ return ResourceLocation.parse(rl); - *//*?} else {*/ - return new ResourceLocation(rl); - /*?}*/ + /*?} else {*/ + /*return new ResourceLocation(rl); + *//*?}*/ } public static ResourceLocation rl(String path) { @@ -31,11 +31,11 @@ public final class YACLPlatform { } public static ResourceLocation rl(String namespace, String path) { - /*? if >1.20.6 {*//* + /*? if >1.20.6 {*/ return ResourceLocation.fromNamespaceAndPath(namespace, path); - *//*?} else {*/ - return new ResourceLocation(namespace, path); - /*?}*/ + /*?} else {*/ + /*return new ResourceLocation(namespace, path); + *//*?}*/ } public static Env getEnvironment() { -- cgit