diff --git a/DynmapCore/src/main/java/org/dynmap/hdmap/TexturePack.java b/DynmapCore/src/main/java/org/dynmap/hdmap/TexturePack.java index b4686a3f..8ddf4861 100644 --- a/DynmapCore/src/main/java/org/dynmap/hdmap/TexturePack.java +++ b/DynmapCore/src/main/java/org/dynmap/hdmap/TexturePack.java @@ -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 {