Whitespace + general cleanup

By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
Bukkit/Spigot
2011-05-14 23:22:54 +02:00
parent 8217ff1836
commit 855f4133b6
216 changed files with 1649 additions and 1637 deletions

View File

@@ -11,12 +11,12 @@ public class Crops extends MaterialData {
public Crops() {
super(Material.CROPS);
}
public Crops(CropState state) {
this();
setState(state);
}
public Crops(final int type) {
super(type);
}
@@ -43,7 +43,7 @@ public class Crops extends MaterialData {
public CropState getSpecies() {
return getState();
}
/**
* Gets the current growth state of this crop
*
@@ -63,7 +63,7 @@ public class Crops extends MaterialData {
public void setSpecies(CropState state) {
setState(state);
}
/**
* Sets the growth state of this crop
*
@@ -72,10 +72,9 @@ public class Crops extends MaterialData {
public void setState(CropState state) {
setData(state.getData());
}
@Override
public String toString() {
return getState() + " " + super.toString();
}
}