1
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:
2023-12-25 02:33:37 +08:00
parent b737e4dda2
commit 38292052f5
15 changed files with 419 additions and 6 deletions
+1 -1
View File
@@ -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>
@@ -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);
}