diff --git a/README.md b/README.md index 22129ba..94e8ae4 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ **To-do List** -1. Fix memory leak of /reloadredis (Not yet known how to fix it, it can be easily noticed by changing IP addresses and using NetworkInterceptor plugin, it'll show connections still being done to old IP address, aswell as the new one, even if it doesn't use old IP address for anything. +1. Fix memory leak of /reloadredis (Not yet known how to fix it, it can be easily noticed by changing IP addresses and using NetworkInterceptor plugin, it'll show connections still being done to old IP address, aswell as the new one, even if it doesn't use old IP address for anything.) RediSkript allows you to communicate between your servers with use of Redis, it's very fast and easy to use. diff --git a/pom.xml b/pom.xml index 050ce8c..9207a27 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ net.limework.core RediSkript - 1.2.0 + 1.2.1 jar @@ -87,22 +87,26 @@ redis.clients jedis 3.3.0 + compile org.json json 20190722 + compile org.cryptomator siv-mode 1.4.0 + compile org.apache.commons commons-pool2 2.6.2 + compile \ No newline at end of file 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")