mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-12 03:57:03 +00:00
Ignore static bounding fields
This commit is contained in:
parent
86a757626b
commit
33b7a5e8c8
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue