forked from Limework/RediSkript
Remove debug message & Hotfix
This commit is contained in:
parent
216b2635b3
commit
92d89ec76d
6
pom.xml
6
pom.xml
@ -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>
|
||||
|
@ -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) {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user