public static void sendItemToServer(NetClientHandler sendQueue, byte slotID, ItemStack item) {
if( sendQueue == null )
return;
try {
Packet250CustomPayload packet = new CustomPacket( (byte) 0x03 ).add( slotID, item ).toPacket();
sendQueue.addToSendQueue( packet );
} catch ( IOException ioe ) {
Utils.logException( "ICG-Custom Packet: Sending item to server. (0x03)", ioe, false );
}
}