New materials, changed material names per style guidelines + correct names
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user