mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-11-25 03:55:35 +01:00
Merge pull request #503 from Maxetto/patch-1
Fix /fawe version showing 2016.
This commit is contained in:
commit
13c7e77be2
@ -35,7 +35,7 @@ public class Reload extends FaweCommand {
|
||||
MainUtil.sendMessage(player, "No version information available.");
|
||||
return false;
|
||||
}
|
||||
Date date = new GregorianCalendar(2000 + version.year - 1, version.month - 1, version.day).getTime();
|
||||
Date date = new GregorianCalendar(2000 + version.year, version.month - 1, version.day).getTime();
|
||||
MainUtil.sendMessage(player, "Version Date: " + date.toLocaleString());
|
||||
MainUtil.sendMessage(player, "Version Commit: " + Integer.toHexString(version.hash));
|
||||
MainUtil.sendMessage(player, "Version Build: #" + version.build);
|
||||
|
Loading…
Reference in New Issue
Block a user