Adds an option to enforce ordered checkpoint triggering

This commit is contained in:
2023-04-17 12:49:59 +02:00
parent b0a72561f9
commit a84e164edf
7 changed files with 56 additions and 17 deletions

View File

@ -238,7 +238,7 @@ public final class MiniGames extends JavaPlugin {
PluginManager pluginManager = getServer().getPluginManager();
pluginManager.registerEvents(new DamageListener(), this);
pluginManager.registerEvents(new MoveListener(this.dropperConfiguration), this);
pluginManager.registerEvents(new MoveListener(this.dropperConfiguration, this.parkourConfiguration), this);
pluginManager.registerEvents(new PlayerLeaveListener(), this);
pluginManager.registerEvents(new CommandListener(), this);