From 1534521362e74d3536c9620e54c1d4d2e8e903c6 Mon Sep 17 00:00:00 2001 From: Gunther De Wachter Date: Thu, 13 Jul 2017 04:21:15 +0200 Subject: [PATCH] Fixed wrong interface being used for the NonNull ItemStacks causing issues. --- src/api/java/appeng/api/features/IP2PTunnelRegistry.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/api/java/appeng/api/features/IP2PTunnelRegistry.java b/src/api/java/appeng/api/features/IP2PTunnelRegistry.java index 97ad06212..d5191722b 100644 --- a/src/api/java/appeng/api/features/IP2PTunnelRegistry.java +++ b/src/api/java/appeng/api/features/IP2PTunnelRegistry.java @@ -24,9 +24,9 @@ package appeng.api.features; +import javax.annotation.Nonnull; import javax.annotation.Nullable; -import com.sun.istack.internal.NotNull; import net.minecraft.item.ItemStack; import appeng.api.config.TunnelType; @@ -45,7 +45,7 @@ public interface IP2PTunnelRegistry * @param trigger - the item which triggers attunement. Nullable, but then ignored * @param type - the type of tunnel. Nullable, but then ignored */ - void addNewAttunement( @NotNull ItemStack trigger, @Nullable TunnelType type ); + void addNewAttunement( @Nonnull ItemStack trigger, @Nullable TunnelType type ); /** * returns null if no attunement can be found. @@ -54,6 +54,6 @@ public interface IP2PTunnelRegistry * * @return null if no attunement can be found or attunement */ - @NotNull + @Nonnull TunnelType getTunnelTypeByItem( ItemStack trigger ); } \ No newline at end of file