refactor: make listeners an interface

(except the one in Bot, which extends MCProtocolLib's SessionAdaptor, not sure how exactly make them complement)
This commit is contained in:
ChomeNS
2025-03-23 14:18:55 +07:00
parent 60356a5eea
commit 0a8efe0189
30 changed files with 261 additions and 311 deletions

View File

@@ -13,7 +13,7 @@ import java.time.format.DateTimeFormatter;
import java.util.List;
import java.util.UUID;
public class TrustedPlugin extends PlayersPlugin.Listener {
public class TrustedPlugin implements PlayersPlugin.Listener {
private final Bot bot;
public final List<String> list;