Whitespace + general cleanup

This commit is contained in:
Erik Broes
2011-05-14 23:22:54 +02:00
parent 4e0d676b2c
commit c4d444ce98
216 changed files with 1649 additions and 1637 deletions

View File

@@ -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";