aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/GardenWarpCommands.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenWarpCommands.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenWarpCommands.kt
index b163ec757..a25949350 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/GardenWarpCommands.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/GardenWarpCommands.kt
@@ -34,7 +34,7 @@ class GardenWarpCommands {
LockMouseLook.autoDisable()
}
- tpPlotPattern.matchMatcher(message) {
+ tpPlotPattern.matchMatcher(event.message) {
event.isCanceled = true
val plotName = group("plot")
LorenzUtils.sendCommandToServer("tptoplot $plotName")