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

Cache punishments for online players

This commit is contained in:
Shy
2026-04-12 13:32:26 +02:00
parent 6c76066d8b
commit ea54f83909
3 changed files with 61 additions and 0 deletions
@@ -95,6 +95,7 @@ public final class SModerationPaper extends JavaPlugin {
@Override
public void onEnable() {
if (isFeatureEnabled("punishments")) listen(new PunishmentListener(punishmentManager));
if (isFeatureEnabled("punishments")) listen(new CacheListener(punishmentManager));
if (isFeatureEnabled("invsee")) listen(new InvSeeListener());
if (isFeatureEnabled("enderchestsee")) listen(new EnderchestSeeListener());
if (isFeatureEnabled("socialspy")) listen(new SocialSpyListener());