From 79fb780745cca33c3eafc3d73628c91296a606c5 Mon Sep 17 00:00:00 2001 From: zhangyuheng Date: Fri, 17 May 2024 19:49:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=86=E7=BB=8F=E9=AA=8C?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E4=B8=8D=E7=94=9F=E6=95=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- src/main/java/cn/lunadeer/essentialsd/EssentialsD.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 6a624cd..ef061a6 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ cn.lunadeer EssentialsD - 1.20.0 + 1.20.1 jar EssentialsD diff --git a/src/main/java/cn/lunadeer/essentialsd/EssentialsD.java b/src/main/java/cn/lunadeer/essentialsd/EssentialsD.java index 44d5f00..bd982dc 100644 --- a/src/main/java/cn/lunadeer/essentialsd/EssentialsD.java +++ b/src/main/java/cn/lunadeer/essentialsd/EssentialsD.java @@ -40,6 +40,7 @@ public final class EssentialsD extends JavaPlugin { Bukkit.getPluginManager().registerEvents(new ShowItemEvent(), this); Bukkit.getPluginManager().registerEvents(new TeleportEvent(), this); Bukkit.getPluginManager().registerEvents(new PlayerRecordEvent(), this); + Bukkit.getPluginManager().registerEvents(new Experience(), this); // op 指令 Objects.requireNonNull(Bukkit.getPluginCommand("fly")).setExecutor(new Fly()); Objects.requireNonNull(Bukkit.getPluginCommand("god")).setExecutor(new God());