Clean up method a little, don't output setNoGravity to parsed disguise
This commit is contained in:
parent
6897e00c6f
commit
6d4d12e0fa
@ -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 New Issue
Block a user