diff --git a/varo/src/main/java/de/cliffbreak/varo/Varo.java b/varo/src/main/java/de/cliffbreak/varo/Varo.java index fa24302..9bdb177 100644 --- a/varo/src/main/java/de/cliffbreak/varo/Varo.java +++ b/varo/src/main/java/de/cliffbreak/varo/Varo.java @@ -5,6 +5,7 @@ import java.io.IOException; import java.util.ArrayList; import org.bukkit.Difficulty; +import org.bukkit.GameRule; import org.bukkit.NamespacedKey; import org.bukkit.World; import org.bukkit.World.Environment; @@ -16,6 +17,7 @@ import de.cliffbreak.varo.commands.VaroCommand; import de.cliffbreak.varo.listeners.BannedItemListener; import de.cliffbreak.varo.listeners.ChatListener; import de.cliffbreak.varo.listeners.CreatureSpawnListener; +import de.cliffbreak.varo.listeners.EntityDamageByEntityListener; import de.cliffbreak.varo.listeners.EntityRegainHealthListener; import de.cliffbreak.varo.listeners.PlayerClientOptionsChangeListener; import de.cliffbreak.varo.listeners.PlayerDeathListener; @@ -57,6 +59,7 @@ public class Varo extends JavaPlugin { for (World world : getServer().getWorlds()) { if (world.getEnvironment() == Environment.NORMAL) { world.setDifficulty(Difficulty.HARD); + world.setGameRule(GameRule.ANNOUNCE_ADVANCEMENTS, false); } } getServer().removeRecipe(NamespacedKey.minecraft("fishing_rod"));