mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-24 01:06:01 +01:00
Remove getFurnace from Furnace*Event
Replace by getBlock since April 2012. By: md_5 <git@md-5.net>
This commit is contained in:
parent
0ca001e61e
commit
6e5cf52206
2 changed files with 0 additions and 22 deletions
|
@ -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
|
||||
*
|
||||
|
|
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue