diff --git a/pom.xml b/pom.xml
index 66bc65c..d38e4ad 100644
--- a/pom.xml
+++ b/pom.xml
@@ -50,7 +50,7 @@
sk89q-repo
- http://maven.enginehub.org/repo/
+ https://maven.enginehub.org/repo/
diff --git a/src/main/java/cz/ceskydj/netherwater/NetherWater.java b/src/main/java/cz/ceskydj/netherwater/NetherWater.java
index 5f694f8..7eef4d1 100644
--- a/src/main/java/cz/ceskydj/netherwater/NetherWater.java
+++ b/src/main/java/cz/ceskydj/netherwater/NetherWater.java
@@ -115,7 +115,9 @@ public void onEnable() {
scheduler.scheduleSyncRepeatingTask(this, new WaterAnimationAgent(this), 0L, 60L);
}
// Mob damaging
- scheduler.scheduleSyncRepeatingTask(this, new MobDamagingAgent(this), 0L, 20L);
+ if (this.configManager.isMobDamagingEnabled() || this.configManager.isPlayerDamagingEnabled()) {
+ scheduler.scheduleSyncRepeatingTask(this, new MobDamagingAgent(this), 0L, 20L);
+ }
// WorldEdit changes batch parser
if (this.worldEdit != null) {
scheduler.scheduleSyncRepeatingTask(this, new WorldEditChangesAgent(this), 0L, 20L);