aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/dev/isxander/yacl3/platform
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/dev/isxander/yacl3/platform')
-rw-r--r--src/main/java/dev/isxander/yacl3/platform/YACLPlatform.java16
1 files changed, 8 insertions, 8 deletions
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() {