Generic cleanup of warnings, whitespace and style.
This commit is contained in:
@@ -4,9 +4,11 @@ import org.bukkit.block.Block;
|
||||
import org.bukkit.event.Cancellable;
|
||||
import org.bukkit.event.Event;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
||||
/**
|
||||
* Called when an ItemStack is successfully burned as fuel in a furnace.
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class FurnaceBurnEvent extends Event implements Cancellable {
|
||||
private Block furnace;
|
||||
private ItemStack fuel;
|
||||
|
||||
@@ -8,7 +8,8 @@ import org.bukkit.inventory.ItemStack;
|
||||
/**
|
||||
* Called when an ItemStack is successfully smelted in a furnace.
|
||||
*/
|
||||
public class FurnaceSmeltEvent extends Event implements Cancellable{
|
||||
@SuppressWarnings("serial")
|
||||
public class FurnaceSmeltEvent extends Event implements Cancellable {
|
||||
private Block furnace;
|
||||
private ItemStack source;
|
||||
private ItemStack result;
|
||||
@@ -56,7 +57,7 @@ public class FurnaceSmeltEvent extends Event implements Cancellable{
|
||||
* @param result new result ItemStack
|
||||
*/
|
||||
public void setResult(ItemStack result) {
|
||||
this.result = result;
|
||||
this.result = result;
|
||||
}
|
||||
|
||||
public boolean isCancelled() {
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
package org.bukkit.event.inventory;
|
||||
|
||||
import org.bukkit.event.Listener;
|
||||
|
||||
/**
|
||||
* Handles all events thrown in relation to Blocks
|
||||
* Handles all events thrown in relation to Blocks
|
||||
*/
|
||||
public class InventoryListener implements Listener {
|
||||
public InventoryListener() {}
|
||||
|
||||
Reference in New Issue
Block a user