diff --git a/src/main/java/pw/kaboom/extras/modules/player/PlayerCommand.java b/src/main/java/pw/kaboom/extras/modules/player/PlayerCommand.java index a89e33c..b1fd441 100644 --- a/src/main/java/pw/kaboom/extras/modules/player/PlayerCommand.java +++ b/src/main/java/pw/kaboom/extras/modules/player/PlayerCommand.java @@ -3,6 +3,7 @@ package pw.kaboom.extras.modules.player; import java.util.HashMap; import java.util.UUID; +import io.papermc.paper.event.player.PlayerSignCommandPreprocessEvent; import org.bukkit.command.CommandSender; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; @@ -46,6 +47,11 @@ public final class PlayerCommand implements Listener { } } + @EventHandler + void onPlayerSignCommandPreprocess(final PlayerSignCommandPreprocessEvent event) { + this.onPlayerCommandPreprocess(event); + } + public static HashMap getCommandMillisList() { return commandMillisList; }