From bfbcde99f3d76c77dee666e90babb35e66484bcb Mon Sep 17 00:00:00 2001 From: Mike Primm Date: Sun, 26 Apr 2020 17:18:30 -0500 Subject: [PATCH] Handle null container file for 'minecraft' on 1.13.x+ --- DynmapCore/src/main/java/org/dynmap/hdmap/TexturePack.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {