diff options
author | SHsuperCM <shsupercm@gmail.com> | 2023-03-25 09:15:11 +0300 |
---|---|---|
committer | SHsuperCM <shsupercm@gmail.com> | 2023-03-25 09:15:11 +0300 |
commit | d7a667c8598125a0f7692414750945f36c83b651 (patch) | |
tree | b7b9985b5f6dc90d94a9006b66c6e6075dc86eb7 /defaults/src/main/java/shcm/shsupercm/fabric | |
parent | 0ce49cfb37fb6e2fb254721e07044f68888f2dd6 (diff) | |
download | CITResewn-d7a667c8598125a0f7692414750945f36c83b651.tar.gz CITResewn-d7a667c8598125a0f7692414750945f36c83b651.tar.bz2 CITResewn-d7a667c8598125a0f7692414750945f36c83b651.zip |
Removed usage of jankson
Diffstat (limited to 'defaults/src/main/java/shcm/shsupercm/fabric')
-rw-r--r-- | defaults/src/main/java/shcm/shsupercm/fabric/citresewn/defaults/cit/types/TypeEnchantment.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/defaults/src/main/java/shcm/shsupercm/fabric/citresewn/defaults/cit/types/TypeEnchantment.java b/defaults/src/main/java/shcm/shsupercm/fabric/citresewn/defaults/cit/types/TypeEnchantment.java index 329f117..1c56b44 100644 --- a/defaults/src/main/java/shcm/shsupercm/fabric/citresewn/defaults/cit/types/TypeEnchantment.java +++ b/defaults/src/main/java/shcm/shsupercm/fabric/citresewn/defaults/cit/types/TypeEnchantment.java @@ -21,7 +21,6 @@ import shcm.shsupercm.fabric.citresewn.pack.format.PropertyKey; import shcm.shsupercm.fabric.citresewn.pack.format.PropertyValue; import shcm.shsupercm.util.logic.Loops; -import blue.endless.jankson.annotation.Nullable; import java.lang.ref.WeakReference; import java.util.*; import java.util.function.Consumer; @@ -151,7 +150,7 @@ public class TypeEnchantment extends CITType { } @Override - public void globalProperty(String key, @Nullable PropertyValue value) throws Exception { + public void globalProperty(String key, PropertyValue value) throws Exception { switch (key) { case "useGlint" -> { globalUseGlint = value == null ? true : Boolean.parseBoolean(value.value()); |