From 4d265cbf6109e0595eefedd2450346e0e07b3158 Mon Sep 17 00:00:00 2001 From: Govindass Date: Tue, 27 Oct 2020 09:06:36 +0200 Subject: [PATCH] Improve debug (thanks ShaneBee) --- pom.xml | 2 +- .../java/net/limework/core/skript/elements/EffSendMessage.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 050ce8c..0eb339e 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ net.limework.core RediSkript - 1.2.0 + 1.2.1 jar diff --git a/src/main/java/net/limework/core/skript/elements/EffSendMessage.java b/src/main/java/net/limework/core/skript/elements/EffSendMessage.java index 384baa1..8b00a3d 100644 --- a/src/main/java/net/limework/core/skript/elements/EffSendMessage.java +++ b/src/main/java/net/limework/core/skript/elements/EffSendMessage.java @@ -68,7 +68,7 @@ public class EffSendMessage extends Effect { @Override public String toString(Event event, boolean debug) { - return "send redis message " + message.getSingle(event) + " to channel " + channel.getSingle(event); + return "send redis message " + message.toString(event, debug) + " to channel " + channel.toString(event, debug); } @SuppressWarnings("unchecked")