1
mirror of https://github.com/Shiewk/SModeration.git synced 2026-04-28 05:54:16 +02:00

Support for custom inventories

This commit is contained in:
Shy
2024-06-08 12:53:40 +02:00
parent 16e28b59e0
commit e2fcf9797c
4 changed files with 109 additions and 0 deletions
@@ -3,6 +3,7 @@ package de.shiewk.smoderation;
import de.shiewk.smoderation.command.BanCommand;
import de.shiewk.smoderation.command.KickCommand;
import de.shiewk.smoderation.command.MuteCommand;
import de.shiewk.smoderation.event.CustomInventoryEvents;
import de.shiewk.smoderation.listener.PunishmentListener;
import de.shiewk.smoderation.storage.PunishmentContainer;
import org.bukkit.command.PluginCommand;
@@ -23,6 +24,7 @@ public final class SModeration extends JavaPlugin {
@Override
public void onEnable() {
getPluginManager().registerEvents(new PunishmentListener(), this);
getPluginManager().registerEvents(new CustomInventoryEvents(), this);
final PluginCommand mute = getCommand("mute");
assert mute != null;