Mod bugfixes
This commit is contained in:
@@ -100,6 +100,8 @@ android{
|
|||||||
all{
|
all{
|
||||||
minifyEnabled = true
|
minifyEnabled = true
|
||||||
shrinkResources = 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
|
debuggable = true
|
||||||
proguardFiles("proguard-rules.pro")
|
proguardFiles("proguard-rules.pro")
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -303,7 +303,7 @@ public class Mods implements Loadable{
|
|||||||
private PageType getPage(Fi file){
|
private PageType getPage(Fi file){
|
||||||
String path = file.path();
|
String path = file.path();
|
||||||
return
|
return
|
||||||
path.contains("sprites/environment") ? PageType.environment :
|
path.contains("sprites/blocks/environment") ? PageType.environment :
|
||||||
path.contains("sprites/editor") ? PageType.editor :
|
path.contains("sprites/editor") ? PageType.editor :
|
||||||
path.contains("sprites/rubble") ? PageType.editor :
|
path.contains("sprites/rubble") ? PageType.editor :
|
||||||
path.contains("sprites/ui") ? PageType.ui :
|
path.contains("sprites/ui") ? PageType.ui :
|
||||||
|
|||||||
Reference in New Issue
Block a user