From 6719bf527f4176695dc87a1f6f4773b48c0ea5fc Mon Sep 17 00:00:00 2001 From: T14D3 <73843330+T14D3@users.noreply.github.com> Date: Thu, 2 Jan 2025 21:14:07 +0100 Subject: [PATCH] [ci skip] Add @throws to BlockData#createBlockState JavaDoc --- paper-api/src/main/java/org/bukkit/block/data/BlockData.java | 1 + 1 file changed, 1 insertion(+) diff --git a/paper-api/src/main/java/org/bukkit/block/data/BlockData.java b/paper-api/src/main/java/org/bukkit/block/data/BlockData.java index 0ecc54bd810a..0fef5a0962ae 100644 --- a/paper-api/src/main/java/org/bukkit/block/data/BlockData.java +++ b/paper-api/src/main/java/org/bukkit/block/data/BlockData.java @@ -275,6 +275,7 @@ public interface BlockData extends Cloneable { * bound to a location. * * @return a new {@link BlockState} + * @throws IllegalStateException if the block is required to be placed to get a BlockState */ @NotNull @ApiStatus.Experimental