Update titles

This commit is contained in:
Jesse Boyd
2016-03-03 09:08:43 +11:00
parent cfcfd87f57
commit 6e2256ffcf
3 changed files with 34 additions and 3 deletions

View File

@ -396,7 +396,11 @@ public class FastQueue_1_9 extends SlowQueue {
}
public boolean isSolid(int i) {
return i != 0 && Material.getMaterial(i).isOccluding();
if (i != 0) {
Material material = Material.getMaterial(i);
return material != null && Material.getMaterial(i).isOccluding();
}
return false;
}
public int getId(int[][] sections, int x, int y, int z) {