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());