Skip to content

Commit

Permalink
Log version in load hook
Browse files Browse the repository at this point in the history
  • Loading branch information
LunNova committed Mar 1, 2016
1 parent 25c2616 commit 921a7aa
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 @@ -7,7 +7,7 @@ class ModPatcherLoadHook {
private static final String VERSION = "@VERSION@".replace("-SNAPSHOT", "");

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

if (API_VERSION != apiVersion) {
PatcherLog.warn("API version mismatch. Expected " + API_VERSION + ", got " + apiVersion);
Expand Down

0 comments on commit 921a7aa

Please sign in to comment.