New materials, changed material names per style guidelines + correct names

This commit is contained in:
Dinnerbone
2011-01-13 23:33:10 +00:00
parent c4f4d92aa5
commit a61ae767f3
2 changed files with 224 additions and 174 deletions

View File

@@ -66,7 +66,7 @@ public class PlayerItemEvent extends PlayerEvent implements Cancellable {
* @return Material the material of the item used
*/
public Material getMaterial() {
if (this.item == null) return Material.Air;
if (this.item == null) return Material.AIR;
return item.getType();
}