From d7a667c8598125a0f7692414750945f36c83b651 Mon Sep 17 00:00:00 2001 From: SHsuperCM Date: Sat, 25 Mar 2023 09:15:11 +0300 Subject: Removed usage of jankson --- .../shsupercm/fabric/citresewn/defaults/cit/types/TypeEnchantment.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'defaults/src/main/java/shcm/shsupercm') 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()); -- cgit