diff --git a/src/de/diddiz/LogBlock/LogBlock.java b/src/de/diddiz/LogBlock/LogBlock.java index 5ed882c..d8dc450 100644 --- a/src/de/diddiz/LogBlock/LogBlock.java +++ b/src/de/diddiz/LogBlock/LogBlock.java @@ -147,7 +147,7 @@ public class LogBlock extends JavaPlugin timer.scheduleAtFixedRate(consumer, config.delayBetweenRuns * 1000, config.delayBetweenRuns * 1000); log.info("[LogBlock] Scheduled consumer with timer."); } - log.info("Logblock v" + getDescription().getVersion() + " enabled."); + log.info("Logblock v" + getDescription().getVersion() + " by DiddiZ enabled."); } @Override diff --git a/src/de/diddiz/util/Utils.java b/src/de/diddiz/util/Utils.java index dfbc957..9b8194b 100644 --- a/src/de/diddiz/util/Utils.java +++ b/src/de/diddiz/util/Utils.java @@ -94,9 +94,9 @@ public class Utils hours = Integer.parseInt(spec[0].substring(lastIndex, currIndex - 1)); else if (param.equals("m")) minutes = Integer.parseInt(spec[0].substring(lastIndex, currIndex - 1)); - lastIndex = currIndex; - currIndex++; } + lastIndex = currIndex; + currIndex++; } if (days == 0 && hours == 0 && minutes == 0) return -1;