Skip to content

Commit d304e22

Browse files
authored
Version - 1.2.3 (#254)
* Deploy as 1.2.3-SNAPSHOT * Prevent updating mod status for options not yet supported by the API (#252) * Bump to 1.2.3 (#253) * Bump to 1.2.2 (#250) * Bump to 1.2.2 * Bump to 1.2.3
1 parent eff2236 commit d304e22

File tree

11 files changed

+17
-12
lines changed

11 files changed

+17
-12
lines changed

common/src/main/java/com/lunarclient/apollo/module/modsettings/ModSettingModuleImpl.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,11 @@ public void updateOptions(ApolloPlayer player, Map<String, Value> properties, bo
117117
for (Map.Entry<String, Value> entry : properties.entrySet()) {
118118
Option<?, ?, ?> option = statusOptions.getRegistry().get(entry.getKey());
119119

120+
// Option exists on the client but doesn't exist in the API yet.
121+
if (option == null) {
122+
continue;
123+
}
124+
120125
Object unwrappedValue = NetworkOptions.unwrapValue(
121126
entry.getValue(),
122127
option.getTypeToken().getType()

docs/developers/minestom.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ Next, add the `apollo-minestom` dependency to your project.
5252
<Tab>
5353
```kotlin filename="build.gradle.kts"
5454
dependencies {
55-
implementation("com.lunarclient:apollo-minestom:1.2.2")
55+
implementation("com.lunarclient:apollo-minestom:1.2.3")
5656
}
5757
```
5858
</Tab>
5959
<Tab>
6060
```groovy filename="build.gradle"
6161
dependencies {
62-
implementation 'com.lunarclient:apollo-minestom:1.2.2'
62+
implementation 'com.lunarclient:apollo-minestom:1.2.3'
6363
}
6464
```
6565
</Tab>
@@ -69,7 +69,7 @@ Next, add the `apollo-minestom` dependency to your project.
6969
<dependency>
7070
<groupId>com.lunarclient</groupId>
7171
<artifactId>apollo-minestom</artifactId>
72-
<version>1.2.2</version>
72+
<version>1.2.3</version>
7373
<scope>compile</scope>
7474
</dependency>
7575
</dependencies>

example/bukkit/api/src/main/resources/plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Apollo-API-Example
22
main: com.lunarclient.apollo.example.api.ApolloApiExamplePlatform
3-
version: 1.2.2
3+
version: 1.2.3
44
author: Moonsworth
55
softdepend: [ Apollo-Bukkit, Apollo-Folia ]
66
api-version: 1.13

example/bukkit/json/src/main/resources/plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Apollo-Json-Example
22
main: com.lunarclient.apollo.example.json.ApolloJsonExamplePlatform
3-
version: 1.2.2
3+
version: 1.2.3
44
author: Moonsworth
55
softdepend: [ Apollo-Bukkit ]
66
api-version: 1.13

example/bukkit/proto/src/main/resources/plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Apollo-Proto-Example
22
main: com.lunarclient.apollo.example.proto.ApolloProtoExamplePlatform
3-
version: 1.2.2
3+
version: 1.2.3
44
author: Moonsworth
55
softdepend: [ Apollo-Bukkit ]
66
api-version: 1.13

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
group=com.lunarclient
2-
version=1.2.2
2+
version=1.2.3
33
description=The API for interacting with Lunar Client players.
44

55
org.gradle.parallel=true

platform/bukkit/src/platform-loader/resources/plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Apollo-Bukkit
22
main: com.lunarclient.apollo.loader.BukkitPlatformLoader
3-
version: 1.2.2
3+
version: 1.2.3
44
author: Moonsworth
55
api-version: 1.13
66
soft-depend: [LunarClient-API]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
name: Apollo-Bungee
22
main: com.lunarclient.apollo.loader.BungeePlatformLoader
3-
version: 1.2.2
3+
version: 1.2.3
44
author: Moonsworth

platform/folia/src/main/resources/plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Apollo-Folia
22
main: com.lunarclient.apollo.ApolloFoliaPlatform
3-
version: 1.2.2
3+
version: 1.2.3
44
author: Moonsworth
55
api-version: 1.13
66
folia-supported: true

platform/minestom/src/main/java/com/lunarclient/apollo/ApolloMinestomPlatform.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ public Options getOptions() {
237237

238238
@Override
239239
public String getApolloVersion() {
240-
return "1.2.2";
240+
return "1.2.3";
241241
}
242242

243243
@Override

0 commit comments

Comments
 (0)