mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-12-06 03:07:19 +00:00
Remove unnecessary check in design verification handler.
This commit is contained in:
1 parent
3f4a9febe2
commit
464db2cc27
1 file changed
+1
-1
@@ -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