Handle null container file for 'minecraft' on 1.13.x+
This commit is contained in:
parent
27d767ac35
commit
bfbcde99f3
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue