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

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot
2011-01-13 23:33:10 +00:00
parent 0a677497d4
commit 2fab54ae7b
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();
}