Allow PluginMessages to be handled when no server connected

This commit is contained in:
md_5 2016-08-11 23:02:29 +10:00
parent 3a0b0aa116
commit e7be3c6b1e

View File

@ -83,7 +83,7 @@ public class UpstreamBridge extends PacketHandler
@Override @Override
public boolean shouldHandle(PacketWrapper packet) throws Exception public boolean shouldHandle(PacketWrapper packet) throws Exception
{ {
return con.getServer() != null; return con.getServer() != null || packet.packet instanceof PluginMessage;
} }
@Override @Override