Handle null container file for 'minecraft' on 1.13.x+

This commit is contained in:
Mike Primm 2020-04-26 17:18:30 -05:00
parent 27d767ac35
commit bfbcde99f3

View File

@ -1598,7 +1598,7 @@ public class TexturePack {
// Check mods to see if texture files defined there
for (String modid : core.getServer().getModList()) {
File f = core.getServer().getModContainerFile(modid); // Get mod file
if (f.isFile()) {
if ((f != null) && f.isFile()) {
ZipFile zf = null;
in = null;
try {