SPIGOT-4164: Treat new _AIR blocks as air

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2018-07-28 08:28:56 +10:00
parent b69070bbe4
commit f97fd5873f
2 changed files with 7 additions and 9 deletions

View File

@@ -489,7 +489,7 @@ public class CraftBlock implements Block {
}
public boolean isEmpty() {
return getType() == Material.AIR;
return getNMS().isAir();
}
public boolean isLiquid() {