Rearrange this
This commit is contained in:
		| @@ -26,11 +26,10 @@ public class DisguiseRadiusCommand extends BaseDisguiseCommand { | |||||||
|     public DisguiseRadiusCommand(int maxRadius) { |     public DisguiseRadiusCommand(int maxRadius) { | ||||||
|         this.maxRadius = maxRadius; |         this.maxRadius = maxRadius; | ||||||
|         for (Class c : ClassGetter.getClassesForPackage("org.bukkit.entity")) { |         for (Class c : ClassGetter.getClassesForPackage("org.bukkit.entity")) { | ||||||
|             if (c.getAnnotation(Deprecated.class) == null && Entity.class.isAssignableFrom(c)) { |             if (c != Entity.class && Entity.class.isAssignableFrom(c) && c.getAnnotation(Deprecated.class) == null) { | ||||||
|                 validClasses.add(c); |                 validClasses.add(c); | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|         validClasses.remove(Entity.class); |  | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     @Override |     @Override | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user