mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 08:39:11 +00:00
Remove unnecessary check in design verification handler.
This commit is contained in:
@@ -16,7 +16,7 @@ public final class PlayerDesignVerificationHandler extends EventHandler<PlayerDe
|
||||
|
||||
@Override
|
||||
public void handle(EventHandlerContext ctx, Player player, PlayerDesignEvent event) {
|
||||
if (!valid(event.getAppearance()) || player.isNewPlayer()) {
|
||||
if (!valid(event.getAppearance())) {
|
||||
ctx.breakHandlerChain();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user