Skip to content

Commit

Permalink
Merge pull request #7 from Loving11ish/master
Browse files Browse the repository at this point in the history
Fixed null error with JoinEvent. Changed PlaceholderAPI Expansion ver…
  • Loading branch information
GamlinUK authored Feb 14, 2022
2 parents 20e973a + f670716 commit e893e3b
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 @@ -6,7 +6,7 @@

<groupId>xyz.gamlin</groupId>
<artifactId>ClansLite</artifactId>
<version>1.1.0</version>
<version>1.1.1</version>
<packaging>jar</packaging>

<name>ClansLite</name>
Expand Down Expand Up @@ -41,7 +41,7 @@
</goals>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<outputFile>C:\Users\Jamie\Documents\ClansLite\${project.artifactId}-${project.version}.jar</outputFile>
<outputFile>/Users/mark/IdeaProjects/${project.artifactId}-${project.version}.jar</outputFile>
</configuration>
</execution>
</executions>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public PlayerClanExpansion(Clans plugin) {

@Override
public @NotNull String getVersion() {
return "1.0.1-BETA";
return "1.1.1";
}

@Override
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/xyz/gamlin/clans/updateSystem/JoinEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public void onJoin(PlayerJoinEvent event) {
Player player = event.getPlayer();
if (player.hasPermission("clanslite.update")||player.hasPermission("clanslite.*")||player.isOp()) {
if (clansConfig.getBoolean("plugin-update-notifications.enabled")){
new UpdateChecker(Clans.getPlugin(), 85571).getVersion(version -> {
new UpdateChecker(Clans.getPlugin(), 97163).getVersion(version -> {
try {
if (!(Clans.getPlugin().getDescription().getVersion().equalsIgnoreCase(version))) {
player.sendMessage(ColorUtils.translateColorCodes(messagesConfig.getString("update-available.1")));
Expand Down

0 comments on commit e893e3b

Please sign in to comment.