Fix unknown packet (1.6.3)

This commit is contained in:
ajgeiss0702
2020-07-23 21:22:47 -07:00
parent 659bb0addb
commit ec57804544
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -224,6 +224,7 @@ public class Main extends Plugin implements Listener {
public void onMessage(PluginMessageEvent e) {
//getLogger().info("Recieved message of "+e.getTag());
if(!e.getTag().equals("ajqueue:tobungee")) return;
e.setCancelled(true);
DataInputStream in = new DataInputStream(new ByteArrayInputStream(e.getData()));
try {
String subchannel = in.readUTF();