Remove getFurnace from Furnace*Event

Replace by getBlock since April 2012.

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2016-03-01 08:30:03 +11:00
parent 0ca001e61e
commit 6e5cf52206
2 changed files with 0 additions and 22 deletions

View file

@ -24,17 +24,6 @@ public class FurnaceBurnEvent extends BlockEvent implements Cancellable {
this.burning = true;
}
/**
* 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
*

View file

@ -22,17 +22,6 @@ public class FurnaceSmeltEvent extends BlockEvent implements Cancellable {
this.cancelled = false;
}
/**
* 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
*