mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-12 12:00:59 +00:00
Clean up method a little, don't output setNoGravity to parsed disguise
This commit is contained in:
parent
6897e00c6f
commit
6d4d12e0fa
1 changed files with 61 additions and 54 deletions
|
@ -151,7 +151,15 @@ public class DisguiseParser {
|
||||||
|
|
||||||
stringBuilder.append(" ").append(m.getName()).append(" ").append(type.getName());
|
stringBuilder.append(" ").append(m.getName()).append(" ").append(type.getName());
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Also for this method. You can't override it, so why output it
|
||||||
|
if (m.getName().equals("setNoGravity")) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
Entry<Method, Object> entry = defaultWatcherValues.get(m);
|
Entry<Method, Object> entry = defaultWatcherValues.get(m);
|
||||||
|
|
||||||
if (entry == null) {
|
if (entry == null) {
|
||||||
|
@ -207,7 +215,6 @@ public class DisguiseParser {
|
||||||
|
|
||||||
stringBuilder.append(" ").append(valueString);
|
stringBuilder.append(" ").append(valueString);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return stringBuilder.toString();
|
return stringBuilder.toString();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue