diff --git a/src/main/java/com/laytonsmith/core/functions/XPacketJumper.java b/src/main/java/com/laytonsmith/core/functions/XPacketJumper.java index 11e2579aa..3be264f0d 100644 --- a/src/main/java/com/laytonsmith/core/functions/XPacketJumper.java +++ b/src/main/java/com/laytonsmith/core/functions/XPacketJumper.java @@ -19,6 +19,7 @@ import com.laytonsmith.core.environments.Environment; import com.laytonsmith.core.exceptions.CRE.CRECastException; import com.laytonsmith.core.exceptions.CRE.CREIllegalArgumentException; +import com.laytonsmith.core.exceptions.CRE.CREPlayerOfflineException; import com.laytonsmith.core.exceptions.CRE.CREPluginInternalException; import com.laytonsmith.core.exceptions.CRE.CRERangeException; import com.laytonsmith.core.exceptions.CRE.CREThrowable; @@ -218,7 +219,8 @@ public static class send_packet extends AbstractFunction { public Class[] thrown() { return new Class[]{ CRECastException.class, - CREIllegalArgumentException.class + CREIllegalArgumentException.class, + CREPlayerOfflineException.class, }; }