Skip to content

Commit 66deb08

Browse files
committed
Release v1.1.1
1 parent afed8ca commit 66deb08

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

buildSrc/src/main/kotlin/multification-publish.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
}
55

66
group = "com.eternalcode"
7-
version = "1.1.0"
7+
version = "1.1.1"
88

99
java {
1010
withSourcesJar()

multification-core/src/com/eternalcode/multification/notice/NoticePart.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
public record NoticePart<T extends NoticeContent>(NoticeKey<T> noticeKey, T content) {
77

88
@Deprecated
9-
@ApiStatus.ScheduledForRemoval(inVersion = "1.1.0")
9+
@ApiStatus.ScheduledForRemoval(inVersion = "1.2.0")
1010
public NoticeType type() {
1111
return NoticeType.fromKey(noticeKey.key());
1212
}

multification-core/src/com/eternalcode/multification/notice/NoticeType.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import org.jetbrains.annotations.ApiStatus;
1111

1212
@Deprecated
13-
@ApiStatus.ScheduledForRemoval(inVersion = "1.1.0")
13+
@ApiStatus.ScheduledForRemoval(inVersion = "1.2.0")
1414
public enum NoticeType implements NoticeKey {
1515
CHAT(ChatContent.class, NoticeKey.CHAT.key()),
1616
ACTION_BAR(ActionbarContent.class, NoticeKey.ACTION_BAR.key()),
@@ -34,25 +34,25 @@ public enum NoticeType implements NoticeKey {
3434
}
3535

3636
@Deprecated
37-
@ApiStatus.ScheduledForRemoval(inVersion = "1.1.0")
37+
@ApiStatus.ScheduledForRemoval(inVersion = "1.2.0")
3838
public String getKey() {
3939
return this.name;
4040
}
4141

4242
@Deprecated
43-
@ApiStatus.ScheduledForRemoval(inVersion = "1.1.0")
43+
@ApiStatus.ScheduledForRemoval(inVersion = "1.2.0")
4444
public Class<?> contentType() {
4545
return this.inputType;
4646
}
4747

4848
@Deprecated
49-
@ApiStatus.ScheduledForRemoval(inVersion = "1.1.0")
49+
@ApiStatus.ScheduledForRemoval(inVersion = "1.2.0")
5050
public <T extends NoticeContent> NoticeKey<T> toNoticeKey() {
5151
return NoticeKey.of(this.getKey(), (Class<T>) contentType());
5252
}
5353

5454
@Deprecated
55-
@ApiStatus.ScheduledForRemoval(inVersion = "1.1.0")
55+
@ApiStatus.ScheduledForRemoval(inVersion = "1.2.0")
5656
public static NoticeType fromKey(String key) {
5757
for (NoticeType type : values()) {
5858
if (type.getKey().equals(key)) {

multification-core/src/com/eternalcode/multification/platform/PlatformBroadcaster.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ public interface PlatformBroadcaster {
1717
void announce(Audience viewer, NoticePart<T> notice);
1818

1919
@Deprecated
20-
@ApiStatus.ScheduledForRemoval(inVersion = "1.1.0")
20+
@ApiStatus.ScheduledForRemoval(inVersion = "1.2.0")
2121
static PlatformBroadcaster withPlainSerializer() {
2222
return new PlatformBroadcasterImpl(new PlainComponentSerializer(), NoticeResolverDefaults.createRegistry());
2323
}
2424

2525
@Deprecated
26-
@ApiStatus.ScheduledForRemoval(inVersion = "1.1.0")
26+
@ApiStatus.ScheduledForRemoval(inVersion = "1.2.0")
2727
static PlatformBroadcaster withSerializer(ComponentSerializer<Component, Component, String> componentSerializer) {
2828
return new PlatformBroadcasterImpl(componentSerializer, NoticeResolverDefaults.createRegistry());
2929
}

0 commit comments

Comments
 (0)