Don't reset the ReportType static fields. This is pointless.
This may prevent certain problems on MCPC+.
Dieser Commit ist enthalten in:
Ursprung
988026611c
Commit
6fba5cb020
@ -115,7 +115,8 @@ class CleanupStaticMembers {
|
|||||||
|
|
||||||
// Only check static non-primitive fields. We also skip strings.
|
// Only check static non-primitive fields. We also skip strings.
|
||||||
if (Modifier.isStatic(field.getModifiers()) &&
|
if (Modifier.isStatic(field.getModifiers()) &&
|
||||||
!type.isPrimitive() && !type.equals(String.class)) {
|
!type.isPrimitive() && !type.equals(String.class) &&
|
||||||
|
!type.equals(ReportType.class)) {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
setFinalStatic(field, null);
|
setFinalStatic(field, null);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren