Merge remote-tracking branch 'origin/master'

# Conflicts:
#	pom.xml
This commit is contained in:
zhangyuheng 2024-05-22 15:57:36 +08:00
commit aa8dc8aecf

View File

@ -45,6 +45,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());