From 06eff136c8df91625356f528aba59077ce49b8c3 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/0157-Material-API-additions.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Spigot-API-Patches/0157-Material-API-additions.patch b/Spigot-API-Patches/0157-Material-API-additions.patch index 48865c3a33..d1d488c186 100644 --- a/Spigot-API-Patches/0157-Material-API-additions.patch +++ b/Spigot-API-Patches/0157-Material-API-additions.patch @@ -1,11 +1,11 @@ -From a73476b729503e004260a1b5c618ccdaec9678e7 Mon Sep 17 00:00:00 2001 +From 96b6ec1a816d21b6c3eaabce56ccfa7c9d44afdb Mon Sep 17 00:00:00 2001 From: Aikar Date: Sat, 6 Oct 2018 21:14:29 -0400 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 @@ -72,6 +72,7 @@ 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: