add curse of insomnia

This commit is contained in:
2024-11-04 16:51:35 +01:00
parent 9263442f83
commit b85832a46a
6 changed files with 191 additions and 6 deletions
@@ -47,6 +47,9 @@ public final class Enchantio extends JavaPlugin {
if (EnchantioConfig.ENCHANTS.containsKey(VampirismEnchant.KEY)) {
getServer().getPluginManager().registerEvents(new VampirismListener(), this);
}
if (EnchantioConfig.ENCHANTS.containsKey(InsomniaEnchant.KEY)) {
getServer().getPluginManager().registerEvents(new InsomniaListener(), this);
}
}
@Override