geforkt von Mirrors/Paper
Remove getFurnace from Furnace*Event
Replace by getBlock since April 2012. By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
0ca001e61e
Commit
6e5cf52206
@ -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
|
||||
*
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren