Skip to content

Commit

Permalink
Actual fix reflection error. Closes #116
Browse files Browse the repository at this point in the history
  • Loading branch information
GirafiStudios committed Aug 12, 2021
1 parent cb08703 commit 7ff2841
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
@@ -1,6 +1,6 @@
minecraft_version=1.17.1
forge_version=37.0.8
mod_version=1.9.1
mod_version=1.9.2

org.gradle.jvmargs=-Xmx4G
org.gradle.daemon=false
Expand Up @@ -12,7 +12,7 @@ public class KeyReflectionHelper {

public static void gatherFields() {
try {
pressTimeField = KeyMapping.class.getDeclaredField(ObfuscationReflectionHelper.remapName(INameMappingService.Domain.FIELD, "clickCount"));
pressTimeField = KeyMapping.class.getDeclaredField(ObfuscationReflectionHelper.remapName(INameMappingService.Domain.FIELD, "f_90818_"));
pressTimeField.setAccessible(true);
} catch (NoSuchFieldException e) {
throwReflectionError("f_90818_", KeyMapping.class);
Expand Down

0 comments on commit 7ff2841

Please sign in to comment.