mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2025-01-03 23:18:05 +01:00
Don't reset the ReportType static fields. This is pointless.
This may prevent certain problems on MCPC+.
This commit is contained in:
parent
988026611c
commit
6fba5cb020
@ -115,7 +115,8 @@ class CleanupStaticMembers {
|
||||
|
||||
// Only check static non-primitive fields. We also skip strings.
|
||||
if (Modifier.isStatic(field.getModifiers()) &&
|
||||
!type.isPrimitive() && !type.equals(String.class)) {
|
||||
!type.isPrimitive() && !type.equals(String.class) &&
|
||||
!type.equals(ReportType.class)) {
|
||||
|
||||
try {
|
||||
setFinalStatic(field, null);
|
||||
|
Loading…
Reference in New Issue
Block a user