Merge pull request #3093 from ZacSharp/fixBlockOptionalMetaObfuscation

Fix chat error messages being obfuscated for block type arguments
This commit is contained in:
Leijurv 2022-02-08 10:52:25 -08:00 committed by GitHub
commit 91be4c4643
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@
-keep class baritone.api.IBaritoneProvider -keep class baritone.api.IBaritoneProvider
-keep class baritone.api.utils.MyChunkPos { *; } # even in standalone we need to keep this for gson reflect -keep class baritone.api.utils.MyChunkPos { *; } # even in standalone we need to keep this for gson reflect
-keepname class baritone.api.utils.BlockOptionalMeta # this name is exposed to the user, so we need to keep it in all builds
# Keep any class or member annotated with @KeepName so we dont have to put everything in the script # Keep any class or member annotated with @KeepName so we dont have to put everything in the script
-keep,allowobfuscation @interface baritone.KeepName -keep,allowobfuscation @interface baritone.KeepName