Skip to content

Commit

Permalink
Correct invalid version error.
Browse files Browse the repository at this point in the history
  • Loading branch information
LunNova committed Mar 4, 2016
1 parent 150a59b commit 9c31a7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/me/nallar/modpatcher/ModPatcherLoadHook.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class ModPatcherLoadHook {
private static final int API_VERSION = 1; //Keep in sync with version in ModPatcher.java
private static final String VERSION = "@VERSION@".replace("-SNAPSHOT", "");
private static final String VERSION = "@MOD_VERSION@".replace("-SNAPSHOT", "");

static void loadHook(ModPatcher.Version requiredVersion, String modPatcherRelease, int apiVersion) {
PatcherLog.info("Loaded ModPatcher. Version: @MOD_VERSION@ API version: " + API_VERSION);
Expand Down

0 comments on commit 9c31a7f

Please sign in to comment.