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:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user