mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-25 02:04:44 +02:00
Add current + new version to update notification
And fix a little typo alongside bumping versioning to v5
This commit is contained in:
@ -34,18 +34,14 @@ public class PlotVersion {
|
||||
if (hash == 0 && build == 0) {
|
||||
return "NoVer-SNAPSHOT";
|
||||
} else {
|
||||
return "4." + build;
|
||||
return "5." + build;
|
||||
}
|
||||
}
|
||||
@Override public String toString() {
|
||||
if (hash == 0 && build == 0) {
|
||||
return "PlotSquared-NoVer-SNAPSHOT";
|
||||
} else {
|
||||
return "PlotSquared-4." + build;
|
||||
return "PlotSquared-5." + build;
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isNewer(PlotVersion other) {
|
||||
return other.build < this.build;
|
||||
}
|
||||
}
|
||||
|
@ -67,7 +67,7 @@ public class MainUtil {
|
||||
public static boolean canSendChunk = false;
|
||||
/**
|
||||
* Cache of mapping x,y,z coordinates to the chunk array<br>
|
||||
* - Used for efficent world generation<br>
|
||||
* - Used for efficient world generation<br>
|
||||
*/
|
||||
public static short[][] x_loc;
|
||||
public static short[][] y_loc;
|
||||
|
Reference in New Issue
Block a user