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

View File

@ -90,7 +90,7 @@ public class RedisManager extends BinaryJedisPubSub implements Runnable, Command
try { try {
/* Data Initialization for channelsInByte array from List<String> channels */ /* Data Initialization for channelsInByte array from List<String> channels */
for (int x = 0; x < channels.size(); x++) { 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) { } catch (ArrayIndexOutOfBoundsException ex) {
reInitializeByteArray = true; reInitializeByteArray = true;
@ -137,7 +137,6 @@ public class RedisManager extends BinaryJedisPubSub implements Runnable, Command
} else { } else {
//encryption is disabled, so let's just get the string //encryption is disabled, so let's just get the string
receivedMessage = new String(message, StandardCharsets.UTF_8); receivedMessage = new String(message, StandardCharsets.UTF_8);
System.out.println(receivedMessage);
} }
if (receivedMessage != null) { if (receivedMessage != null) {

View File

@ -1,5 +1,5 @@
main: net.limework.core.Redisk main: net.limework.core.RediSkript
name: Redisk name: RediSkript
version: ${project.version} version: ${project.version}
authors: [Govindas, ham1255, DaemonicKing] authors: [Govindas, ham1255, DaemonicKing]
api-version: 1.13 api-version: 1.13