diff --git a/src/main/scala/io/izzel/taboolib/util/UNSAFE.java b/src/main/scala/io/izzel/taboolib/util/UNSAFE.java index e8da5db..a4cf591 100644 --- a/src/main/scala/io/izzel/taboolib/util/UNSAFE.java +++ b/src/main/scala/io/izzel/taboolib/util/UNSAFE.java @@ -1,7 +1,6 @@ package io.izzel.taboolib.util; import sun.misc.Unsafe; -import sun.reflect.CallerSensitive; import java.lang.reflect.Field; import java.security.ProtectionDomain; @@ -20,11 +19,6 @@ public class UNSAFE { } } - @CallerSensitive - public static Unsafe getUnsafe() { - return Unsafe.getUnsafe(); - } - public static int getInt(Object o, long offset) { return unsafe.getInt(o, offset); }