@ -1,4 +1,3 @@
|
||||
|
||||
package org.bukkit.material;
|
||||
|
||||
import org.bukkit.Material;
|
||||
@ -10,7 +9,7 @@ public class RedstoneWire extends MaterialData implements Redstone {
|
||||
public RedstoneWire() {
|
||||
super(Material.REDSTONE_WIRE);
|
||||
}
|
||||
|
||||
|
||||
public RedstoneWire(final int type) {
|
||||
super(type);
|
||||
}
|
||||
@ -36,7 +35,7 @@ public class RedstoneWire extends MaterialData implements Redstone {
|
||||
public boolean isPowered() {
|
||||
return getData() > 0;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return super.toString() + " " + (isPowered() ? "" : "NOT ") + "POWERED";
|
||||
|
||||
Reference in New Issue
Block a user