From 87643094c3fa06e8349fd4c784c7f8f9ec653030 Mon Sep 17 00:00:00 2001 From: yueh Date: Sun, 21 Apr 2019 22:30:35 +0200 Subject: [PATCH] Fixes #3925: Incorrect API JavaDoc (#4008) `IGridBlock#getMachineRepresentation()` must be non null. --- src/api/java/appeng/api/networking/IGridBlock.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/api/java/appeng/api/networking/IGridBlock.java b/src/api/java/appeng/api/networking/IGridBlock.java index d6e1822aa..631601b67 100644 --- a/src/api/java/appeng/api/networking/IGridBlock.java +++ b/src/api/java/appeng/api/networking/IGridBlock.java @@ -28,7 +28,6 @@ import java.util.EnumSet; import javax.annotation.Nonnegative; import javax.annotation.Nonnull; -import javax.annotation.Nullable; import net.minecraft.item.ItemStack; import net.minecraft.util.EnumFacing; @@ -126,6 +125,6 @@ public interface IGridBlock * * @return the render item stack to use to render this node, null is valid, and will not show this node. */ - @Nullable + @Nonnull ItemStack getMachineRepresentation(); }