mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-15 18:30:27 -04:00
fix reflection regression from OC 1.7.6
This commit is contained in:
parent
c04954c71a
commit
6870086383
@ -18,6 +18,6 @@ public final class OCObfuscationReflectionHelper {
|
||||
public static <T, E> void setPrivateValue(Class<? super T> classToAccess, T instance, E value, String srgName) {
|
||||
// HACK: Don't break compatibility with older Forge versions.
|
||||
// This also works around a Scala compiler crash: "trying to do lub/glb of typevar ?E".
|
||||
ObfuscationReflectionHelper.setPrivateValue(classToAccess, instance, new String[]{srgName});
|
||||
ObfuscationReflectionHelper.setPrivateValue(classToAccess, instance, value, new String[]{srgName});
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user