mirror of
https://github.com/Aust1n46/VentureChat.git
synced 2025-05-22 18:09:06 +00:00
Fix issue when checking if a server is empty when sending plugin message
Specifically for private messages
This commit is contained in:
parent
703edb5b6b
commit
38746624d9
2
pom.xml
2
pom.xml
@ -5,7 +5,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>mineverse.Aust1n46.chat</groupId>
|
<groupId>mineverse.Aust1n46.chat</groupId>
|
||||||
<artifactId>VentureChat</artifactId>
|
<artifactId>VentureChat</artifactId>
|
||||||
<version>3.3.1</version>
|
<version>3.3.2</version>
|
||||||
<url>https://bitbucket.org/Aust1n46/venturechat/src/master</url>
|
<url>https://bitbucket.org/Aust1n46/venturechat/src/master</url>
|
||||||
<scm>
|
<scm>
|
||||||
<url>https://bitbucket.org/Aust1n46/venturechat/src/master</url>
|
<url>https://bitbucket.org/Aust1n46/venturechat/src/master</url>
|
||||||
|
@ -391,7 +391,7 @@ public class VentureChatProxy {
|
|||||||
out.writeUTF(spy);
|
out.writeUTF(spy);
|
||||||
out.writeUTF(msg);
|
out.writeUTF(msg);
|
||||||
source.getServers().forEach(serv -> {
|
source.getServers().forEach(serv -> {
|
||||||
if(!send.isEmpty()) {
|
if(!serv.isEmpty()) {
|
||||||
source.sendPluginMessage(serv.getName(), outstream.toByteArray());
|
source.sendPluginMessage(serv.getName(), outstream.toByteArray());
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user