Fix startup issue on Paper 1.19.4 549

This commit is contained in:
GeorgH93 2023-06-08 02:47:27 +02:00
parent 09d9d6507b
commit 5ac6e4973e
No known key found for this signature in database
GPG Key ID: D1630D37F9E4B3C8
3 changed files with 8 additions and 3 deletions

View File

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

View File

@ -24,6 +24,7 @@
import org.bukkit.plugin.java.JavaPlugin;
import org.jetbrains.annotations.NotNull;
import io.papermc.paper.plugin.bootstrap.BootstrapContext;
import io.papermc.paper.plugin.bootstrap.PluginBootstrap;
import io.papermc.paper.plugin.bootstrap.PluginProviderContext;
@ -35,11 +36,15 @@ public class MinepacksBootstrap implements PluginBootstrap
private static final String MAIN_CLASS_NORMAL = "at.pcgamingfreaks.Minepacks.Bukkit.Minepacks";
private static final String MAIN_CLASS_STANDALONE = "at.pcgamingfreaks.MinepacksStandalone.Bukkit.Minepacks";
@Override
public void bootstrap(@NotNull PluginProviderContext context)
{
}
@Override
public void bootstrap(@NotNull BootstrapContext bootstrapContext)
{
}
@Override
public @NotNull JavaPlugin createPlugin(@NotNull PluginProviderContext context)
{

View File

@ -7,7 +7,7 @@
<packaging>pom</packaging>
<properties>
<revision>2.4.20</revision>
<revision>2.4.20.1</revision>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>