mirror of
https://github.com/CarmJos/MineConfiguration.git
synced 2026-06-04 13:55:03 +08:00
feat(notify): 尝试实现整合的消息配置 #39
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>mineconfiguration-parent</artifactId>
|
||||
<groupId>cc.carm.lib</groupId>
|
||||
<version>2.8.9</version>
|
||||
<version>2.9.1</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<properties>
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@ public class PreparedMessage<R, M> {
|
||||
*
|
||||
* @param receivers 消息的接收者们
|
||||
*/
|
||||
public void to(@NotNull Iterable<R> receivers) {
|
||||
public void to(@NotNull Iterable<? extends R> receivers) {
|
||||
receivers.forEach(this::to);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user