Skip to content

Commit

Permalink
fix: allow 2 more ports
Browse files Browse the repository at this point in the history
  • Loading branch information
NotGeri committed Feb 8, 2024
1 parent 3ecc9ac commit e289fa6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ plugins {

ext {
pluginName = 'BloomAB'
pluginVersion = '1.5.0'
pluginVersion = '1.5.1'
pluginDescription = 'Anti bot protection for Bloom servers'
pluginAuthor = 'Bloom'
pluginWebsite = 'https://bloom.host'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ enum Platform {
default void afterStartup() {

// Ensure it's on a supported port
List<Integer> supportedPorts = List.of(25565);
List<Integer> supportedPorts = List.of(25565, 25566, 25567);
if (!supportedPorts.contains(this.getPort())) {
throw new RuntimeException("The server is not using a supported port! Please ensure it's using one of the following ports, and restart: " + supportedPorts.stream().map(String::valueOf).collect(Collectors.joining(", ")));
}
Expand Down

0 comments on commit e289fa6

Please sign in to comment.