From 9aea6ad7b1bd699190443a872b5480f6e26c60d0 Mon Sep 17 00:00:00 2001 From: Jinnuo Jiang <108323055+kpAjun@users.noreply.github.com> Date: Sun, 29 Jun 2025 11:29:03 +0800 Subject: [PATCH 1/2] update: Minecraft 1.21.6 and Java 21 --- api/pom.xml | 8 ++++---- plugin/pom.xml | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/api/pom.xml b/api/pom.xml index df181b4..be440f6 100644 --- a/api/pom.xml +++ b/api/pom.xml @@ -14,9 +14,9 @@ UTF-8 UTF-8 - 1.8 - 1.8 - 1.8 + 21 + 21 + 21 true @@ -31,7 +31,7 @@ org.spigotmc spigot-api - 1.16.1-R0.1-SNAPSHOT + 1.21.6-R0.1-SNAPSHOT provided diff --git a/plugin/pom.xml b/plugin/pom.xml index 21fbbd9..73f4809 100644 --- a/plugin/pom.xml +++ b/plugin/pom.xml @@ -16,9 +16,9 @@ UTF-8 UTF-8 - 1.8 - 1.8 - 1.8 + 21 + 21 + 21 true @@ -49,13 +49,13 @@ net.md-5 bungeecord-chat - 1.16-R0.5-SNAPSHOT + 1.21-R0.3 provided org.spigotmc spigot-api - 1.16.5-R0.1-SNAPSHOT + 1.21.6-R0.1-SNAPSHOT provided From 9fb67e7e3141bf283e29fed215f4ae016ca0cd39 Mon Sep 17 00:00:00 2001 From: Jinnuo Jiang <108323055+kpAjun@users.noreply.github.com> Date: Sun, 29 Jun 2025 11:29:20 +0800 Subject: [PATCH 2/2] fix: naming in MC 1.21.6 --- .../main/java/com/evermc/evershop/util/ParticlesUtil.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin/src/main/java/com/evermc/evershop/util/ParticlesUtil.java b/plugin/src/main/java/com/evermc/evershop/util/ParticlesUtil.java index c94dcf3..91214f2 100644 --- a/plugin/src/main/java/com/evermc/evershop/util/ParticlesUtil.java +++ b/plugin/src/main/java/com/evermc/evershop/util/ParticlesUtil.java @@ -37,13 +37,13 @@ public static void init(EverShop plugin){ for (Location loc : reg1) { DustOptions dustOptions = new DustOptions(Color.fromRGB(0, 127, 255), dustsize); for (Location lo : getBorder(loc, dustcount)){ - p.spawnParticle(Particle.REDSTONE, lo, 1, dustOptions); + p.spawnParticle(Particle.DUST, lo, 1, dustOptions); } } for (Location loc : reg2) { DustOptions dustOptions = new DustOptions(Color.fromRGB(0, 255, 0), dustsize); for (Location lo : getBorder(loc, dustcount)){ - p.spawnParticle(Particle.REDSTONE, lo, 1, dustOptions); + p.spawnParticle(Particle.DUST, lo, 1, dustOptions); } } } else { @@ -61,7 +61,7 @@ public static void init(EverShop plugin){ while(it.hasNext() && index-- > 0)it.next(); if (!it.hasNext()) continue; for (Location lo : getBorder(it.next(), 3)){ - p.spawnParticle(Particle.REDSTONE, lo, 1, dustOptions); + p.spawnParticle(Particle.DUST, lo, 1, dustOptions); } } }