This website works better with JavaScript.
Home
Explore
Help
Sign In
DaNike
/
BeatSaber-IPA-Reloaded
mirror of
https://github.com/bsmg/BeatSaber-IPA-Reloaded.git
Watch
1
Star
1
Fork
0
Code
Issues
0
Projects
0
Releases
78
Wiki
Activity
Browse Source
Fixed value type check
pull/46/head
Anairkoen Schno
5 years ago
parent
975e276756
commit
5f2d3309fd
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
IPA.Loader/Utilities/Accessor.cs
+ 1
- 1
IPA.Loader/Utilities/Accessor.cs
View File
@ -36,7 +36,7 @@ namespace IPA.Utilities
var
il
=
dyn
.
GetILGenerator
(
)
;
il
.
Emit
(
OpCodes
.
Ldarg_0
)
;
if
(
!
typeof
(
U
)
.
IsValueType
)
if
(
!
typeof
(
T
)
.
IsValueType
)
il
.
Emit
(
OpCodes
.
Ldind_Ref
)
;
il
.
Emit
(
OpCodes
.
Ldflda
,
field
)
;
il
.
Emit
(
OpCodes
.
Ret
)
;
Write
Preview
Loading…
Cancel
Save