The condition
if (entry.getName().startsWith(imageDir))
can be substituted with
if (entry.getName().startsWith(imageDir) && !entry.getName.equals(imageDir))
This should solve the problem
The condition
if (entry.getName().startsWith(imageDir))
can be substituted with
if (entry.getName().startsWith(imageDir) && !entry.getName.equals(imageDir))
This should solve the problem
Thus spake “Calsir”:
Yes, that will do it. Good catch. I’ll get that into the 3.1 branch right now.
J.
Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org
Post generated using Mail2Forum (mail2forum.com)