chore: bump paper to 1.20.4; fix warnings

We should probably keep kaboom plugins' API version synced with the main
server
This commit is contained in:
amyavi 2024-06-24 16:45:57 -03:00
parent dbf9796791
commit 876ec6ae44
Signed by: amy
SSH key fingerprint: SHA256:CoLIqZWDYPZEhs1j1HQWwV0j1JhC3BFWcaUF7ZLZHJA
3 changed files with 3 additions and 2 deletions
pom.xml
src/main
java/pw/kaboom/commandspy
resources

View file

@ -15,7 +15,7 @@
<dependency>
<groupId>io.papermc.paper</groupId>
<artifactId>paper-api</artifactId>
<version>1.19.4-R0.1-SNAPSHOT</version>
<version>1.20.4-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>

View file

@ -25,6 +25,7 @@ public final class Main extends JavaPlugin implements CommandExecutor, Listener
public void onEnable() {
this.config = new CommandSpyState(new File(this.getDataFolder(), "state.bin"));
//noinspection DataFlowIssue
this.getCommand("commandspy").setExecutor(this);
this.getServer().getPluginManager().registerEvents(this, this);

View file

@ -1,7 +1,7 @@
name: CommandSpy
main: pw.kaboom.commandspy.Main
description: Plugin that allows you to spy on players' commands.
api-version: '1.19'
api-version: '1.20'
version: master
folia-supported: true