From de2cc644f21eb169b74fb439acc3d305d5da5815 Mon Sep 17 00:00:00 2001 From: Govindas Date: Thu, 22 Oct 2020 14:19:29 +0300 Subject: [PATCH] Remove debug message & Hotfix --- pom.xml | 6 +++--- src/main/java/net/limework/core/managers/RedisManager.java | 3 +-- src/main/resources/plugin.yml | 4 ++-- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index 37a607d..2064c2c 100644 --- a/pom.xml +++ b/pom.xml @@ -5,8 +5,8 @@ 4.0.0 net.limework.core - LimeworkSpigotCore - 1.0.3-fix2-SNAPSHOT + RediSkript + 1.1.0 jar @@ -83,7 +83,7 @@ org.spigotmc spigot-api - 1.16.1-R0.1-SNAPSHOT + 1.16.2-R0.1-SNAPSHOT provided diff --git a/src/main/java/net/limework/core/managers/RedisManager.java b/src/main/java/net/limework/core/managers/RedisManager.java index ed32cb1..b34e159 100644 --- a/src/main/java/net/limework/core/managers/RedisManager.java +++ b/src/main/java/net/limework/core/managers/RedisManager.java @@ -90,7 +90,7 @@ public class RedisManager extends BinaryJedisPubSub implements Runnable, Command try { /* Data Initialization for channelsInByte array from List channels */ for (int x = 0; x < channels.size(); x++) { - channelsInByte[x] = channels.get(x).getBytes(); + channelsInByte[x] = channels.get(x).getBytes(StandardCharsets.UTF_8); } } catch (ArrayIndexOutOfBoundsException ex) { reInitializeByteArray = true; @@ -137,7 +137,6 @@ public class RedisManager extends BinaryJedisPubSub implements Runnable, Command } else { //encryption is disabled, so let's just get the string receivedMessage = new String(message, StandardCharsets.UTF_8); - System.out.println(receivedMessage); } if (receivedMessage != null) { diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index b91fd7d..1f1ac1e 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,5 +1,5 @@ -main: net.limework.core.Redisk -name: Redisk +main: net.limework.core.RediSkript +name: RediSkript version: ${project.version} authors: [Govindas, ham1255, DaemonicKing] api-version: 1.13