Fix issue when checking if a server is empty when sending plugin message

Specifically for private messages
This commit is contained in:
Aust1n46 2022-03-03 20:24:47 -06:00
parent 703edb5b6b
commit 38746624d9
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>mineverse.Aust1n46.chat</groupId>
<artifactId>VentureChat</artifactId>
<version>3.3.1</version>
<version>3.3.2</version>
<url>https://bitbucket.org/Aust1n46/venturechat/src/master</url>
<scm>
<url>https://bitbucket.org/Aust1n46/venturechat/src/master</url>

View File

@ -391,7 +391,7 @@ public class VentureChatProxy {
out.writeUTF(spy);
out.writeUTF(msg);
source.getServers().forEach(serv -> {
if(!send.isEmpty()) {
if(!serv.isEmpty()) {
source.sendPluginMessage(serv.getName(), outstream.toByteArray());
}
});