From 8cf0c2072fc00a9fb19f37ea3833f1a083b7273b Mon Sep 17 00:00:00 2001 From: Aikar Date: Sat, 6 Oct 2018 22:00:13 -0400 Subject: [PATCH] rename Material.isAir to Material.isEmpty represents what its more for, and aligns with future Minecraft goals --- Spigot-API-Patches/Material-API-additions.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Spigot-API-Patches/Material-API-additions.patch b/Spigot-API-Patches/Material-API-additions.patch index 8e997bf03e..6dae217fa1 100644 --- a/Spigot-API-Patches/Material-API-additions.patch +++ b/Spigot-API-Patches/Material-API-additions.patch @@ -5,7 +5,7 @@ Subject: [PATCH] Material API additions diff --git a/src/main/java/org/bukkit/Material.java b/src/main/java/org/bukkit/Material.java -index 83f8eca15..bf7313fdb 100644 +index 83f8eca15..98775ea54 100644 --- a/src/main/java/org/bukkit/Material.java +++ b/src/main/java/org/bukkit/Material.java @@ -0,0 +0,0 @@ import org.bukkit.material.MaterialData; @@ -25,7 +25,7 @@ index 83f8eca15..bf7313fdb 100644 + /** + * @return If the type is either AIR, CAVE_AIR or VOID_AIR + */ -+ public boolean isAir() { ++ public boolean isEmpty() { + switch (this) { + case AIR: + case CAVE_AIR: