From cf7171f968bb6ec6b98bfa2522057d37ab1db726 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Tue, 1 Apr 2014 20:50:06 -0500 Subject: [PATCH] Deprecate missed magic values from 1f83111208ab3612f384a2e6b65cc28423dc625e By: Wesley Wolfe --- paper-api/src/main/java/org/bukkit/World.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/World.java b/paper-api/src/main/java/org/bukkit/World.java index 4580d7321c..9bf2c41bf4 100644 --- a/paper-api/src/main/java/org/bukkit/World.java +++ b/paper-api/src/main/java/org/bukkit/World.java @@ -699,7 +699,9 @@ public interface World extends PluginMessageRecipient, Metadatable { * @return The spawned {@link FallingBlock} instance * @throws IllegalArgumentException if {@link Location} or {@link * Material} are null or {@link Material} is not a block + * @deprecated Magic value */ + @Deprecated public FallingBlock spawnFallingBlock(Location location, Material material, byte data) throws IllegalArgumentException; /** @@ -713,7 +715,9 @@ public interface World extends PluginMessageRecipient, Metadatable { * @throws IllegalArgumentException if location is null, or blockId is * invalid * @see #spawnFallingBlock(org.bukkit.Location, org.bukkit.Material, byte) + * @deprecated Magic value */ + @Deprecated public FallingBlock spawnFallingBlock(Location location, int blockId, byte blockData) throws IllegalArgumentException; /**