Skip to content

Commit 10ea425

Browse files
committed
Fix conflicts
1 parent f360ebc commit 10ea425

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
fi
4242
4343
- name: Gradle Publish
44-
if: "${{ github.ref == 'refs/heads/master' || github.ref == 'refs/heads/feature/server-links' || startsWith(github.ref, 'refs/heads/version/') }}"
44+
if: "${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/version/') }}"
4545
run: ./gradlew publish
4646

4747
- name: Gradle Release

docs/developers/modules/cooldown.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,9 @@ public void displayCooldownWithStyleExample(Player viewer) {
197197
DisplayCooldownMessage message = DisplayCooldownMessage.newBuilder()
198198
.setName("book-cooldown")
199199
.setDuration(ProtobufUtil.createDurationProto(Duration.ofSeconds(30)))
200-
.setIcon(ProtobufUtil.createItemStackIconProto("BOOK", 0, 0))
200+
.setIcon(Icon.newBuilder()
201+
.setItemStack(ProtobufUtil.createItemStackIconProto("BOOK", 0, 0))
202+
.build())
201203
.setStyle(CooldownStyle.newBuilder()
202204
.setCircleStartColor(ProtobufUtil.createColorProto(new Color(255, 85, 85))) // ApolloColors.RED
203205
.setCircleEndColor(ProtobufUtil.createColorProto(new Color(85, 255, 85))) // ApolloColors.GREEN

example/bukkit/proto/src/main/java/com/lunarclient/apollo/example/proto/module/CooldownProtoExample.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ public void displayCooldownWithStyleExample(Player viewer) {
5555
DisplayCooldownMessage message = DisplayCooldownMessage.newBuilder()
5656
.setName("book-cooldown")
5757
.setDuration(ProtobufUtil.createDurationProto(Duration.ofSeconds(30)))
58-
.setIcon(ProtobufUtil.createItemStackIconProto("BOOK", 0, 0))
58+
.setIcon(Icon.newBuilder()
59+
.setItemStack(ProtobufUtil.createItemStackIconProto("BOOK", 0, 0))
60+
.build())
5961
.setStyle(CooldownStyle.newBuilder()
6062
.setCircleStartColor(ProtobufUtil.createColorProto(new Color(255, 85, 85))) // ApolloColors.RED
6163
.setCircleEndColor(ProtobufUtil.createColorProto(new Color(85, 255, 85))) // ApolloColors.GREEN

0 commit comments

Comments
 (0)