mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-11-04 08:59:47 +01:00
Ignore static bounding fields
This commit is contained in:
parent
86a757626b
commit
33b7a5e8c8
@ -457,7 +457,7 @@ public class ReflectionManager {
|
||||
int stage = 0;
|
||||
|
||||
for (Field field : boundingBox.getClass().getDeclaredFields()) {
|
||||
if (!field.getType().getSimpleName().equals("double")) {
|
||||
if (!field.getType().getSimpleName().equals("double") || Modifier.isStatic(field.getModifiers())) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user