Generic cleanup of warnings, whitespace and style.

By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
Bukkit/Spigot
2011-12-25 16:02:30 +01:00
parent 98960fd73e
commit aaab1cba23
257 changed files with 1408 additions and 1152 deletions

View File

@@ -27,14 +27,14 @@ public abstract class TexturedMaterial extends MaterialData {
/**
* Retrieve a list of possible textures. The first element of the list will be used as a default.
*
*
* @return a list of possible textures for this block
*/
public abstract List<Material> getTextures();
/**
* Gets the current Material this block is made of
*
*
* @return Material of this block
*/
public Material getMaterial() {
@@ -42,13 +42,13 @@ public abstract class TexturedMaterial extends MaterialData {
if (n > getTextures().size() - 1) {
n = 0;
}
return getTextures().get(n);
}
/**
* Sets the material this block is made of
*
*
* @param material
* New material of this block
*/