mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-05 08:40:08 +00:00
Omit redundant null check
This commit is contained in:
@@ -35,7 +35,7 @@ public final class MessageHandlerChainSet {
|
|||||||
}
|
}
|
||||||
|
|
||||||
MessageHandlerChain<M> chain = (MessageHandlerChain<M>) chains.computeIfAbsent(clazz, MessageHandlerChain::new);
|
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