mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-10 00:52:22 -07:00
Remove getFurnace from Furnace*Event
Replace by getBlock since April 2012. By: md_5 <git@md-5.net>
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
Reference in New Issue
Block a user