diff --git a/platforms/velocity/src/main/java/us/ajg0702/queue/platforms/velocity/VelocityMethods.java b/platforms/velocity/src/main/java/us/ajg0702/queue/platforms/velocity/VelocityMethods.java index 1be9456..b552710 100644 --- a/platforms/velocity/src/main/java/us/ajg0702/queue/platforms/velocity/VelocityMethods.java +++ b/platforms/velocity/src/main/java/us/ajg0702/queue/platforms/velocity/VelocityMethods.java @@ -50,7 +50,8 @@ public class VelocityMethods implements PlatformMethods { } Optional server = velocityPlayer.getCurrentServer(); if(!server.isPresent()) { - throw new IllegalStateException("No server to send data to"); + logger.warn("Unable to send message to " + player.getName() + ", as they are not connected to any server!"); + return; } server.get().sendPluginMessage(MinecraftChannelIdentifier.from("ajqueue:tospigot"), out.toByteArray()); }