-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
98 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# ClaimChunk 0.0.25-FIX1 | ||
|
||
Fixes: | ||
* Crash on first launch! Kinda a problem :) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# ClaimChunk 0.0.25-FIX1 | ||
|
||
Fixes: | ||
* Re-add the `claimchunk_am_trusted` placeholder | ||
* The placeholder works the same way, returning that the player is trusted if | ||
said player has *any* permissions granted by the owner for the chunk they're | ||
standing in (the chunk must be owned; the placeholder shows not trusted in | ||
unclaimed chunks to match pre-0.0.24 behavior). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# ClaimChunk 0.0.25-FIX1 | ||
|
||
Fixes: | ||
* My stupid update checker | ||
* Allow header customization for chunk list command in messages.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package com.cjburkey.claimchunk; | ||
|
||
import com.cjburkey.claimchunk.update.SemVer; | ||
|
||
import org.junit.jupiter.api.Test; | ||
|
||
class TestSemVerMee { | ||
|
||
@Test | ||
void testVersions() { | ||
SemVer v0022 = new SemVer(0, 0, 22, null); | ||
SemVer v0024 = new SemVer(0, 0, 24, null); | ||
SemVer v0024FIX1 = new SemVer(0, 0, 24, "FIX1"); | ||
SemVer v0024FIX2 = new SemVer(0, 0, 24, "FIX2"); | ||
SemVer v0024RC1 = new SemVer(0, 0, 24, "RC1"); | ||
SemVer v0024RC2 = new SemVer(0, 0, 24, "RC2"); | ||
|
||
assert v0024.isNewerThan(v0022); | ||
assert v0024FIX1.isNewerThan(v0024); | ||
assert v0024FIX1.isNewerThan(v0024RC1); | ||
assert v0024FIX2.isNewerThan(v0024FIX1); | ||
assert v0024RC2.isNewerThan(v0024RC1); | ||
assert !v0024RC1.isNewerThan(v0024RC2); | ||
} | ||
} |