Class name refactor

This commit is contained in:
ohAlee 2023-04-22 15:28:59 +02:00
parent 804fb93315
commit 3231e15f36

View File

@ -0,0 +1,19 @@
package it.ohalee.minecraftgpt.handler;
import it.ohalee.minecraftgpt.Main;
import lombok.RequiredArgsConstructor;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerQuitEvent;
@RequiredArgsConstructor
public class PlayerHandler implements Listener {
private final Main plugin;
@EventHandler
public void onQuit(PlayerQuitEvent e) {
Main.CACHE.invalidate(e.getPlayer());
}
}