Permalink
Browse files

Prevent exception with legacy materials.

Not sure what this legacy material layer is doing here, but it can
potentially throw exceptions when we add one to our material flags.
  • Loading branch information...
wizjany committed Feb 4, 2019
1 parent 72a392a commit d5dddba8bcc259657e3e064ef1d2fe86add7a1a9
@@ -621,7 +621,7 @@
MATERIAL_FLAGS.put(material, MODIFIED_ON_RIGHT);
}
if (!MATERIAL_FLAGS.containsKey(material)) {
logger.fine("Missing item definition for " + material.getKey().toString());
logger.fine("Missing item definition for " + material.name());
MATERIAL_FLAGS.put(material, 0);
}
}

0 comments on commit d5dddba

Please sign in to comment.