diff options
author | md_5 <git@md-5.net> | 2016-03-01 08:30:03 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2016-03-01 08:30:03 +1100 |
commit | 09141842cdf4c38d2dbd42e69cd72f01c270d853 (patch) | |
tree | cba2a2adbe2f48b3baef1c27393df72a403a59fc | |
parent | 6dd5aa2ce1e9195fda5720a9caff48f15ecf6335 (diff) | |
download | bukkit-09141842cdf4c38d2dbd42e69cd72f01c270d853.tar bukkit-09141842cdf4c38d2dbd42e69cd72f01c270d853.tar.gz bukkit-09141842cdf4c38d2dbd42e69cd72f01c270d853.tar.lz bukkit-09141842cdf4c38d2dbd42e69cd72f01c270d853.tar.xz bukkit-09141842cdf4c38d2dbd42e69cd72f01c270d853.zip |
Remove getFurnace from Furnace*Event
Replace by getBlock since April 2012.
-rw-r--r-- | src/main/java/org/bukkit/event/inventory/FurnaceBurnEvent.java | 11 | ||||
-rw-r--r-- | src/main/java/org/bukkit/event/inventory/FurnaceSmeltEvent.java | 11 |
2 files changed, 0 insertions, 22 deletions
diff --git a/src/main/java/org/bukkit/event/inventory/FurnaceBurnEvent.java b/src/main/java/org/bukkit/event/inventory/FurnaceBurnEvent.java index 8ca1ff7b..7cc77392 100644 --- a/src/main/java/org/bukkit/event/inventory/FurnaceBurnEvent.java +++ b/src/main/java/org/bukkit/event/inventory/FurnaceBurnEvent.java @@ -25,17 +25,6 @@ public class FurnaceBurnEvent extends BlockEvent implements Cancellable { } /** - * Gets the block for the furnace involved in this event - * - * @return the block of the furnace - * @deprecated In favour of {@link #getBlock()}. - */ - @Deprecated - public Block getFurnace() { - return getBlock(); - } - - /** * Gets the fuel ItemStack for this event * * @return the fuel ItemStack diff --git a/src/main/java/org/bukkit/event/inventory/FurnaceSmeltEvent.java b/src/main/java/org/bukkit/event/inventory/FurnaceSmeltEvent.java index e9d1a540..5ad31796 100644 --- a/src/main/java/org/bukkit/event/inventory/FurnaceSmeltEvent.java +++ b/src/main/java/org/bukkit/event/inventory/FurnaceSmeltEvent.java @@ -23,17 +23,6 @@ public class FurnaceSmeltEvent extends BlockEvent implements Cancellable { } /** - * Gets the block for the furnace involved in this event - * - * @return the block of the furnace - * @deprecated In favour of {@link #getBlock()}. - */ - @Deprecated - public Block getFurnace() { - return getBlock(); - } - - /** * Gets the smelted ItemStack for this event * * @return smelting source ItemStack |