Fix block state iterator

This commit is contained in:
Mike Primm 2020-04-25 19:58:19 -05:00
parent 745f8bc947
commit 27d767ac35
9 changed files with 30 additions and 17 deletions

View file

@ -188,7 +188,7 @@ public class HDBlockModels {
/* Check mods to see if model files defined there: do these first, as they trump other sources */
for (String modid : core.getServer().getModList()) {
File f = core.getServer().getModContainerFile(modid); // Get mod file
if (f.isFile()) {
if ((f != null) && f.isFile()) {
zf = null;
in = null;
try {