Skip to content

Commit

Permalink
Update bedrock checks
Browse files Browse the repository at this point in the history
  • Loading branch information
heychazza committed Jun 1, 2023
1 parent 45bc52e commit ceff6a0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {
defaultTasks("clean", "shadowJar")

group = "net.analyse"
version = "2.0.4"
version = "2.0.6"

subprojects {
plugins.apply("java")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public void onJoin(PlayerJoinEvent event) {
if (analyseConfig.getBedrockPrefix() != null && player.getName().startsWith(analyseConfig.getBedrockPrefix())) {
player.setType(PlayerType.BEDROCK);
}
} else if (platform.getFloodgateHook().isBedrock(event.getPlayer())) {
} else if (platform.getFloodgateHook() != null && platform.getFloodgateHook().isBedrock(event.getPlayer())) {
player.setType(PlayerType.BEDROCK);
}

Expand Down
4 changes: 2 additions & 2 deletions bukkit/src/main/resources/platform/bukkit/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ hooks:
# Enable or disable the plugin's hooks.
# See https://analyse.net/docs/plugins/bukkit for more information.
placeholderapi:
enabled: true
enabled: false
enabled-stats:
- 'enter_placeholder_here'
floodgate:
enabled: true
enabled: false

settings:
# Excluded Players (UUID)
Expand Down

0 comments on commit ceff6a0

Please sign in to comment.