Mod bugfixes

This commit is contained in:
Anuken 2021-07-11 12:03:10 -04:00
parent 5d1af6fb76
commit c94e7aa031
2 changed files with 3 additions and 1 deletions

View file

@ -100,6 +100,8 @@ android{
all{
minifyEnabled = true
shrinkResources = true
//this is the ONLY WAY I could find to force r8 to keep its filthy hands off of my default interfaces.
//may have undesirable side effects
debuggable = true
proguardFiles("proguard-rules.pro")
}

View file

@ -303,7 +303,7 @@ public class Mods implements Loadable{
private PageType getPage(Fi file){
String path = file.path();
return
path.contains("sprites/environment") ? PageType.environment :
path.contains("sprites/blocks/environment") ? PageType.environment :
path.contains("sprites/editor") ? PageType.editor :
path.contains("sprites/rubble") ? PageType.editor :
path.contains("sprites/ui") ? PageType.ui :