diff --git a/plugins/exilepearl-paper/build.gradle.kts b/plugins/exilepearl-paper/build.gradle.kts index 09bf2f5a52..2f90360b0d 100644 --- a/plugins/exilepearl-paper/build.gradle.kts +++ b/plugins/exilepearl-paper/build.gradle.kts @@ -5,7 +5,9 @@ plugins { version = "2.1.5" dependencies { - paperDevBundle("1.18.2-R0.1-SNAPSHOT") + paperweight { + paperDevBundle("1.20.4-R0.1-SNAPSHOT") + } compileOnly(project(":plugins:civmodcore-paper")) compileOnly(project(":plugins:namelayer-paper")) diff --git a/plugins/exilepearl-paper/src/main/java/com/devotedmc/ExilePearl/core/ExilePearlCore.java b/plugins/exilepearl-paper/src/main/java/com/devotedmc/ExilePearl/core/ExilePearlCore.java index 001b12e5ed..aabccee2b7 100644 --- a/plugins/exilepearl-paper/src/main/java/com/devotedmc/ExilePearl/core/ExilePearlCore.java +++ b/plugins/exilepearl-paper/src/main/java/com/devotedmc/ExilePearl/core/ExilePearlCore.java @@ -19,6 +19,8 @@ import com.devotedmc.ExilePearl.util.ExilePearlRunnable; import com.devotedmc.ExilePearl.util.NameLayerPermissions; import com.google.common.base.Preconditions; +import io.papermc.paper.plugin.configuration.PluginMeta; +import io.papermc.paper.plugin.lifecycle.event.LifecycleEventManager; import isaac.bastion.Bastion; import isaac.bastion.BastionBlock; import isaac.bastion.manager.BastionBlockManager; @@ -552,6 +554,11 @@ public PluginDescriptionFile getDescription() { return plugin.getDescription(); } + @Override + public @NotNull PluginMeta getPluginMeta() { + return plugin.getDescription(); + } + @Override public Logger getLogger() { return plugin.getLogger(); @@ -562,6 +569,11 @@ public String getName() { return plugin.getName(); } + @Override + public @NotNull LifecycleEventManager getLifecycleManager() { +return plugin.getLifecycleManager(); + } + @Override public PluginLoader getPluginLoader() { return plugin.getPluginLoader(); diff --git a/plugins/exilepearl-paper/src/main/java/com/devotedmc/ExilePearl/core/PearlBoundaryTask.java b/plugins/exilepearl-paper/src/main/java/com/devotedmc/ExilePearl/core/PearlBoundaryTask.java index f318c9b64a..1c9274b70c 100644 --- a/plugins/exilepearl-paper/src/main/java/com/devotedmc/ExilePearl/core/PearlBoundaryTask.java +++ b/plugins/exilepearl-paper/src/main/java/com/devotedmc/ExilePearl/core/PearlBoundaryTask.java @@ -55,7 +55,7 @@ final class PearlBoundaryTask extends ExilePearlTask implements BorderHandler { public static final LinkedHashSet safeOpenBlocks = new LinkedHashSet<>(Arrays.asList( new Material[] { Material.AIR, Material.WATER, Material.RAIL, Material.ACTIVATOR_RAIL, - Material.POWERED_RAIL, Material.DETECTOR_RAIL, Material.GRASS, Material.FERN, + Material.POWERED_RAIL, Material.DETECTOR_RAIL, Material.SHORT_GRASS, Material.FERN, Material.LARGE_FERN, Material.DEAD_BUSH, Material.BROWN_MUSHROOM, Material.RED_MUSHROOM, Material.TORCH, Material.REDSTONE_WIRE, Material.WHEAT, Material.LADDER, Material.LEVER, Material.STONE_PRESSURE_PLATE} )); diff --git a/plugins/exilepearl-paper/src/main/resources/plugin.yml b/plugins/exilepearl-paper/src/main/resources/plugin.yml index 3b3db65997..b739150a44 100644 --- a/plugins/exilepearl-paper/src/main/resources/plugin.yml +++ b/plugins/exilepearl-paper/src/main/resources/plugin.yml @@ -9,4 +9,4 @@ commands: pp: description: Legacy prison pearl commands aliases: [pplocate, ppl, ppfree, ppf, ppbroadcast, ppb, ppconfirm, ppsilence] -api-version: 1.14 +api-version: 1.20