From cc1b99b5082c6c24e81b9052f3c39ca12aa0ddd8 Mon Sep 17 00:00:00 2001 From: DerFrZocker Date: Sat, 19 Aug 2023 18:02:03 +0200 Subject: [PATCH] Fix wrong Java docs --- src/main/java/org/bukkit/block/BlockType.java | 2 +- src/main/java/org/bukkit/inventory/ItemType.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/bukkit/block/BlockType.java b/src/main/java/org/bukkit/block/BlockType.java index f39a7fa2..54c66fea 100644 --- a/src/main/java/org/bukkit/block/BlockType.java +++ b/src/main/java/org/bukkit/block/BlockType.java @@ -3053,7 +3053,7 @@ public interface BlockType extends Keyed, Translatable { /** * Returns true if this BlockType has a corresponding {@link ItemType}. * - * @return true if there is an ItemType with the same key, otherwise false + * @return true if there is a corresponding ItemType, otherwise false * @see #getItemType() */ boolean hasItemType(); diff --git a/src/main/java/org/bukkit/inventory/ItemType.java b/src/main/java/org/bukkit/inventory/ItemType.java index ad7f415d..11c6ddc1 100644 --- a/src/main/java/org/bukkit/inventory/ItemType.java +++ b/src/main/java/org/bukkit/inventory/ItemType.java @@ -1282,7 +1282,7 @@ public interface ItemType extends Keyed, Translatable { /** * Returns true if this ItemType has a corresponding {@link BlockType}. * - * @return true if there is a BlockType with the same key, otherwise false + * @return true if there is a corresponding BlockType, otherwise false * @see #getBlockType() */ boolean hasBlockType();