Whitespace + general cleanup
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
package org.bukkit.material;
|
||||
|
||||
import org.bukkit.Material;
|
||||
@@ -10,7 +9,7 @@ public class RedstoneTorch extends Torch implements Redstone {
|
||||
public RedstoneTorch() {
|
||||
super(Material.REDSTONE_TORCH_ON);
|
||||
}
|
||||
|
||||
|
||||
public RedstoneTorch(final int type) {
|
||||
super(type);
|
||||
}
|
||||
@@ -36,7 +35,7 @@ public class RedstoneTorch extends Torch implements Redstone {
|
||||
public boolean isPowered() {
|
||||
return getItemType() == Material.REDSTONE_TORCH_ON;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return super.toString() + " " + (isPowered() ? "" : "NOT ") + "POWERED";
|
||||
|
||||
Reference in New Issue
Block a user