Skip to content

Commit

Permalink
Support Geyser 2.2.0 and increment version (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jens-Co authored Dec 10, 2023
1 parent 6350d64 commit 4ff453f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>com.projectg</groupId>
<name>GeyserUpdater</name>
<artifactId>GeyserUpdater</artifactId>
<version>1.6.3</version>
<version>1.6.4</version>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down Expand Up @@ -67,7 +67,7 @@
<dependency>
<groupId>org.geysermc.geyser</groupId>
<artifactId>core</artifactId>
<version>2.1.0-SNAPSHOT</version>
<version>2.2.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public static boolean isLatestBuild() throws Exception {
public static String getGeyserGitPropertiesValue(String propertyKey) throws IOException {
UpdaterLogger.getLogger().debug("Running getGeyserGitPropertiesValue()");
Properties gitProperties = new Properties();
gitProperties.load(GeyserImpl.getInstance().getBootstrap().getResource("git.properties"));
gitProperties.load(GeyserImpl.getInstance().getBootstrap().getResourceOrNull("git.properties"));
return gitProperties.getProperty(propertyKey);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
import java.nio.file.Paths;
import java.util.concurrent.TimeUnit;

@Plugin(id = "geyserupdater", name = "GeyserUpdater", version = "1.6.3", description = "Automatically or manually downloads new builds of Geyser and applies them on server restart.", authors = {"KejonaMC"},
@Plugin(id = "geyserupdater", name = "GeyserUpdater", version = "1.6.4", description = "Automatically or manually downloads new builds of Geyser and applies them on server restart.", authors = {"KejonaMC"},
dependencies = {@Dependency(id = "geyser")})
public class VelocityUpdater {

Expand Down

0 comments on commit 4ff453f

Please sign in to comment.