Skip to content

Commit

Permalink
Fix for content pack detection, sometimes they have . in the middle o…
Browse files Browse the repository at this point in the history
…f the name
  • Loading branch information
jamioflan committed Oct 13, 2020
1 parent 9658480 commit d9052e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Expand Up @@ -8,4 +8,4 @@ minecraft_version = 1.12.2
version_major = 5
version_minor = 6
version_patch = 0
version_extra = -beta.9
version_extra = -beta.10
2 changes: 1 addition & 1 deletion src/main/java/com/flansmod/common/CommonProxy.java
Expand Up @@ -49,7 +49,7 @@ public void CopyContentPacksFromModsFolder()
{
if(file.isDirectory() || zipJar.matcher(file.getName()).matches())
{
if(file.getName().contains("Content Pack"))
if(file.getName().contains("Content") && file.getName().contains("Pack"))
{
try
{
Expand Down

0 comments on commit d9052e6

Please sign in to comment.