Remove debug message & Hotfix

This commit is contained in:
Govindas 2020-10-22 14:19:29 +03:00
parent 86c1ebab5c
commit de2cc644f2
3 changed files with 6 additions and 7 deletions

View File

@ -5,8 +5,8 @@
<modelVersion>4.0.0</modelVersion>
<groupId>net.limework.core</groupId>
<artifactId>LimeworkSpigotCore</artifactId>
<version>1.0.3-fix2-SNAPSHOT</version>
<artifactId>RediSkript</artifactId>
<version>1.1.0</version>
<packaging>jar</packaging>
<build>
@ -83,7 +83,7 @@
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.16.1-R0.1-SNAPSHOT</version>
<version>1.16.2-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>

View File

@ -90,7 +90,7 @@ public class RedisManager extends BinaryJedisPubSub implements Runnable, Command
try {
/* Data Initialization for channelsInByte array from List<String> 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) {

View File

@ -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