Goto Object

This commit is contained in:
Daniel Mills
2020-11-14 21:38:22 -05:00
parent 6b8610b72d
commit d9e18e0f3b
13 changed files with 406 additions and 40 deletions

View File

@@ -378,7 +378,7 @@ public class B
}
}
if(onto.equals(Material.AIR) || onto.equals(B.getMaterial("CAVE_AIR")))
if(onto.equals(Material.AIR) || onto.equals(B.getMaterial("CAVE_AIR")) || onto.equals(B.getMaterial("VOID_AIR")))
{
return false;
}
@@ -416,7 +416,12 @@ public class B
{
Material mm = m.getMaterial();
Boolean f = decorantCache.get(mm);
if(f != null)
{
return f;
}
f = mm.equals(Material.GRASS)
|| mm.equals(Material.TALL_GRASS)
|| mm.equals(B.getMaterial("CORNFLOWER"))