Class name refactor
This commit is contained in:
parent
804fb93315
commit
3231e15f36
@ -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());
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user