Clean up method a little, don't output setNoGravity to parsed disguise
This commit is contained in:
		| @@ -151,7 +151,15 @@ public class DisguiseParser { | ||||
|  | ||||
|                         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); | ||||
|  | ||||
|                 if (entry == null) { | ||||
| @@ -207,7 +215,6 @@ public class DisguiseParser { | ||||
|  | ||||
|                 stringBuilder.append(" ").append(valueString); | ||||
|             } | ||||
|             } | ||||
|  | ||||
|             return stringBuilder.toString(); | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user