mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-12-06 03:07:19 +00:00
Omit redundant null check
This commit is contained in:
1 parent
670cf9d902
commit
da8626ce82
1 file changed
+1
-1
@@ -35,7 +35,7 @@ public final class MessageHandlerChainSet {
|
||||
}
|
||||
|
||||
MessageHandlerChain<M> chain = (MessageHandlerChain<M>) chains.computeIfAbsent(clazz, MessageHandlerChain::new);
|
||||
return chain == null || chain.notify(player, message);
|
||||
return chain.notify(player, message);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user