mirror of
https://github.com/kaboomserver/commandspy.git
synced 2025-06-15 18:40:31 -04:00
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:
parent
dbf9796791
commit
876ec6ae44
3 changed files with 3 additions and 2 deletions
2
pom.xml
2
pom.xml
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue